|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
ICs for Communications ATM Buffer Manager ABM PXB 4330 Version 1.1 Data Sheet 09.99 DS 1 PXB 4330 Data Sheet Revision History: Previous Version: Page Page (in previous (in current Version) Version) Current Version: 09.99 Preliminary Data Sheet 08.98 (V 1.1) Subjects (major changes since last revision) The Data Sheet has been reorganized. For questions on technology, delivery and prices please contact the Infineon Technologies Offices in Germany or the Infineon Technologies Companies and Representatives worldwide: see our webpage at http://www.infineon.com All brand or product names, hardware or software names are trademarks or registered trademarks of their respective companies or organizations. ABM(R), AOP(R), ARCOFI(R), ARCOFI(R)-BA, ARCOFI(R)-SP, DigiTape(R), EPIC(R)-1, EPIC(R)-S, ELIC(R), FALC(R)54, FALC(R)56, FALC(R)-E1, FALC(R)-LH, IDEC(R), IOM(R), IOM(R)-1, IOM(R)-2, IPAT(R)-2, ISAC(R)-P, ISAC(R)-S, ISAC(R)-S TE, ISAC(R)-P TE, ITAC(R), IWE(R), MUSAC(R)-A, OCTAT(R)-P, QUAT(R)-S, SICAT(R), SICOFI(R), SICOFI(R)-2, SICOFI(R)-4, SICOFI(R)-4C, SLICOFI(R) are registered trademarks of Infineon Technologies AG. ACETM, ASMTM, ASPTM, POTSWIRETM, QuadFALCTM, SCOUTTM are trademarks of Infineon Technologies AG. Edition 09.99 Published by Infineon Technologies AG i. Gr., SC, Balanstrae 73, 81541 Munchen (c) Infineon Technologies AG i.Gr. 1999. All Rights Reserved. Attention please! As far as patents or other rights of third parties are concerned, liability is only assumed for components, not for applications, processes and circuits implemented within components or assemblies. The information describes the type of component and shall not be considered as assured characteristics. Terms of delivery and rights to change design reserved. Due to technical requirements components may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies Office. Infineon Technologies AG is an approved CECC manufacturer. Packing Please use the recycling operators known to you. We can also help you - get in touch with your nearest sales office. By agreement we will take packing material back, if it is sorted. You must bear the costs of transport. For packing material that is returned to us unsorted or which we are not obliged to accept, we shall have to invoice you for any costs incurred. Components used in life-support devices or systems must be expressly authorized for such purpose! Critical components1 of the Infineon Technologies AG, may only be used in life-support devices or systems2 with the express written approval of the Infineon Technologies AG. 1 A critical component is a component used in a life-support device or system whose failure can reasonably be expected to cause the failure of that life-support device or system, or to affect its safety or effectiveness of that device or system. 2 Life support devices or systems are intended (a) to be implanted in the human body, or (b) to support and/or maintain and sustain human life. If they fail, it is reasonable to assume that the health of the user may be endangered. PXB 4330 Table of Contents 1 1.1 1.2 1.3 1.4 1.5 1.6 1.6.1 2 2.1 3 3.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.1.9.1 3.1.9.2 4 4.1 4.2 4.3 4.4 4.5 4.5.1 4.6 4.7 4.7.1 4.8 4.9 4.10 4.11 4.11.1 4.11.2 4.11.3 4.11.4 Page Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17 Logic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20 ABM Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21 ATM Layer Chip Set Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22 Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24 System Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-25 LCI Translation in Mini-Switch Configurations . . . . . . . . . . . . . . . . . . . 1-27 Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-29 Pin Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-29 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37 The ABM Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37 ABM Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38 The Scheduler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39 Scheduler Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42 Quality of Service Class Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-45 EPD/PPD Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47 Global Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47 Scheduler Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-47 Statistical Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48 Supervision Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48 Cell Header Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48 Cell Queue Supervision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-48 Operational Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49 Initialization and Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49 Global Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49 Connection Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-49 Setup of Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-52 Teardown of Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-52 ABM Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-53 Normal Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-55 Bandwidth Reservation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-56 Bandwidth Reservation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-57 Programming of the Peak Rate Limiter / PCR Shaper . . . . . . . . . . . . . . 4-58 Scheduler Output Rate Calculation Example . . . . . . . . . . . . . . . . . . . . . 4-58 Empty Cell Rate Calculation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-60 Traffic Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-60 CBR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-60 VBR-rt Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61 VBR-nrt Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61 ABR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-61 3 09.99 Data Sheet PXB 4330 4.11.5 4.11.6 4.11.7 5 5.1 5.1.1 5.2 5.2.1 5.2.2 5.3 5.4 5.5 6 6.1 6.2 7 7.1 7.2 7.3 7.4 7.4.1 7.4.1.1 7.4.1.2 7.4.2 7.4.2.1 7.4.2.2 7.4.3 7.4.4 7.4.5 7.4.6 7.4.7 7.5 7.6 8 9 10 UBR+ Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-62 GFR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-62 UBR Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-62 Interface Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-63 UTOPIA Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-63 UTOPIA Multi-PHY Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-64 RAM Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-68 SSRAM Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-69 SDRAM Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-70 Microprocessor Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-71 JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-72 Clock Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-73 Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-74 Overview of the ABM Register Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-74 Detailed Register Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-80 Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-174 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-174 Operating Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-174 DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-175 AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-177 Microprocessor Interface Timing Intel Mode . . . . . . . . . . . . . . . . . . . 7-178 Microprocessor Write Cycle Timing (Intel) . . . . . . . . . . . . . . . . . . . 7-178 Microprocessor Read Cycle Timing (Intel) . . . . . . . . . . . . . . . . . . 7-179 Microprocessor Interface Timing Motorola Mode . . . . . . . . . . . . . . . 7-180 Microprocessor Write Cycle Timing (Motorola) . . . . . . . . . . . . . . . 7-180 Microprocessor Read Cycle Timing (Motorola) . . . . . . . . . . . . . . . 7-182 UTOPIA Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-184 SSRAM Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-189 SDRAM Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-190 Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-192 Boundary-Scan Test Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-193 Capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-195 Package Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-195 Package Outlines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-196 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-197 Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-199 Data Sheet 4 09.99 PXB 4330 List of Figures Figure 1-1 Figure 1-2 Figure 1-3 Figure 1-4 Figure 1-5 Figure 1-6 Figure 1-7 Figure 1-8 Figure 1-9 Figure 1-10 Figure 2-1 Figure 3-1 Figure 3-2 Figure 3-3 Figure 3-4 Figure 3-5 Figure 3-6 Figure 3-7 Figure 3-8 Figure 3-9 Figure 3-10 Figure 4-1 Figure 4-2 Figure 4-3 Figure 5-1 Figure 5-2 Figure 5-3 Figure 5-4 Figure 5-5 Figure 5-6 Figure 5-7 Figure 5-8 Figure 7-1 Figure 7-2 Figure 7-3 Figure 7-4 Figure 7-5 Figure 7-6 Figure 7-7 Figure 7-8 Figure 7-9 Figure 7-10 Data Sheet Page ATM Switch Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16 Logic Symbol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20 ABM Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-21 ATM Switch Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-22 Mini Switch with 622 Mbit/s Throughput . . . . . . . . . . . . . . . . . . . . . . 1-23 Nomenclature. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-24 ABM in Bi-directional Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-25 ABM in Uni-directional Mode Using both Cores. . . . . . . . . . . . . . . . . 1-26 ABM in Uni-directional Mode Using one Core . . . . . . . . . . . . . . . . . . 1-27 Connection Identifiers in Mini-Switch Configuration. . . . . . . . . . . . . . 1-28 Pin Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-29 Block Diagram of one ABM Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-37 ABM Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-38 Scheduler Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39 Scheduler Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-39 Data Traffic Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40 Scheduler Behavior Example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41 Scheduler Usage at Switch Output . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43 Scheduler Usage at Switch Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44 Queue Grouping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-46 Example of Threshold Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 3-46 Parameters for Connection Setup (Bit width indicated) . . . . . . . . . . . 4-50 ABM Application Example: DSLAM . . . . . . . . . . . . . . . . . . . . . . . . . . 4-53 ABM Configuration Example: DSLAM . . . . . . . . . . . . . . . . . . . . . . . . 4-55 UTOPIA Interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-63 Upstream Receive UTOPIA Example: 4 x 6 PHYs . . . . . . . . . . . . . . 5-66 SSRAM Interface Using 2 Mbit RAM . . . . . . . . . . . . . . . . . . . . . . . . . 5-69 SDRAM Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-70 Microprocessor Interface: Intel Mode. . . . . . . . . . . . . . . . . . . . . . . . . 5-71 Microprocessor Interface: Motorola Mode . . . . . . . . . . . . . . . . . . . . . 5-71 JTAG Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-72 Clock Concept . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-73 Input/Output Waveform for AC Measurements . . . . . . . . . . . . . . . . 7-177 Microprocessor Interface Write Cycle Timing (Intel) . . . . . . . . . . . . 7-178 Microprocessor Interface Read Cycle Timing (Intel) . . . . . . . . . . . . 7-179 Microprocessor Interface Write Cycle Timing (Motorola) . . . . . . . . . 7-180 Microprocessor Interface Read Cycle Timing (Motorola). . . . . . . . . 7-182 Setup and Hold Time Definition (Single- and Multi-PHY). . . . . . . . . 7-184 Tristate Timing (Multi-PHY, Multiple Devices Only) . . . . . . . . . . . . . 7-185 SSRAM Interface Generic Timing Diagram . . . . . . . . . . . . . . . . . . . 7-189 Generic SDRAM Interface Timing Diagram . . . . . . . . . . . . . . . . . . . 7-190 Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-192 5 09.99 PXB 4330 Figure 7-11 Boundary-Scan Test Interface Timing Diagram. . . . . . . . . . . . . . . . 7-193 Data Sheet 6 09.99 PXB 4330 List of Tables Table 2-1 Table 3-1 Table 4-1 Table 5-1 Table 5-2 Table 5-3 Table 5-4 Table 6-1 Table 6-2 Table 6-4 Table 6-3 Table 6-6 Table 6-5 Table 6-7 Table 6-8 Table 6-9 Table 6-10 Table 6-11 Table 6-12 Table 6-13 Table 6-14 Table 6-15 Table 6-16 Table 6-17 Table 6-18 Table 7-1 Table 7-2 Table 7-3 Table 7-4 Table 7-5 Table 7-6 Table 7-7 Table 7-8 Table 7-9 Table 7-10 Table 7-11 Table 7-12 Table 7-13 Data Sheet Page Pin Definitions and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30 Guaranteed Rates for each Traffic Class. . . . . . . . . . . . . . . . . . . . . 3-42 Number of Possible Connections per PHY . . . . . . . . . . . . . . . . . . . 4-57 Standardized UTOPIA Cell Format (16-bit) . . . . . . . . . . . . . . . . . . . 5-64 Proprietary UTOPIA Cell Format (16-bit) . . . . . . . . . . . . . . . . . . . . . 5-64 UTOPIA Polling Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-67 External RAMs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-68 ABM Registers Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-75 UBMTH/DBMTH Threshold Values . . . . . . . . . . . . . . . . . . . . . . . . . 6-84 WAR Register Mapping for LCI Table Access . . . . . . . . . . . . . . . . 6-89 Registers for LCI Table Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-89 WAR Register Mapping for TCT Table Access . . . . . . . . . . . . . . . 6-93 Registers for TCT Table Access . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-93 Registers for Queue Configuration Table Access . . . . . . . . . . . . . 6-102 WAR Register Mapping for LCI Table Access . . . . . . . . . . . . . . . 6-103 Registers for SOT Table Access . . . . . . . . . . . . . . . . . . . . . . . . . . 6-107 WAR Register Mapping for SOT Table Access . . . . . . . . . . . . . . 6-108 Registers for QPT Upstream Table Access . . . . . . . . . . . . . . . . . . 6-123 Registers for QPT Downstream Table Access . . . . . . . . . . . . . . . 6-124 WAR Register Mapping for QPT Table Access . . . . . . . . . . . . . . 6-125 Registers SCTF Upstream Table Access . . . . . . . . . . . . . . . . . . . 6-130 Registers SCTF Downstream Table Access . . . . . . . . . . . . . . . . . 6-130 WAR Register Mapping for SCTFU/SCTFD Table access . . . . . 6-131 Registers SCTI Upstream Table Access . . . . . . . . . . . . . . . . . . . . 6-134 Registers SCTI Downstream Table Access . . . . . . . . . . . . . . . . . . 6-134 Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-174 Operating Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-174 DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-175 Clock Frequencies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-177 Microprocessor Interface Write Cycle Timing (Intel) . . . . . . . . . . . 7-178 Microprocessor Interface Read Cycle Timing (Intel) . . . . . . . . . . . 7-179 Microprocessor Interface Write Cycle Timing (Motorola) . . . . . . . . 7-180 Microprocessor Interface Read Cycle Timing (Motorola). . . . . . . . 7-182 Transmit Timing (16-Bit Data Bus, 50 MHz at Cell Interface, Single PHY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-185 Receive Timing (16-Bit Data Bus, 50 MHz at Cell Interface, Single PHY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-186 Transmit Timing (16-Bit Data Bus, 50 MHz at Cell Interface, Multi-PHY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-186 Receive Timing (16-Bit Data Bus, 50 MHz at Cell Interface, Multi-PHY) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-187 SSRAM Interface AC Timing Characteristics. . . . . . . . . . . . . . . . . 7-189 7 09.99 PXB 4330 Table 7-14 Table 7-15 Table 7-16 Table 7-18 Table 7-17 SDRAM Interface AC Timing Characteristics . . . . . . . . . . . . . . . . . 7-190 Reset Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-192 Boundary-Scan Test Interface AC Timing Characteristics. . . . . . . . 7-193 Thermal Package Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 7-195 Capacitances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-195 Data Sheet 8 09.99 PXB 4330 List of Registers Register 1 Register 2 Register 3 Register 4 Register 5 Register 6 Register 7 Register 8 Register 9 Register 10 Register 11 Register 12 Register 13 Register 14 Register 15 Register 16 Register 17 Register 18 Register 19 Register 20 Register 21 Register 22 Register 23 Register 24 Register 25 Register 26 Register 27 Register 28 Register 29 Register 30 Register 31 Register 32 Register 33 Register 34 Register 35 Register 36 Register 37 Register 38 Register 39 Register 40 Register 41 Register 42 Register 43 Register 44 Register 45 Register 46 Register 47 Register 48 Register 49 Register 50 Register 51 Data Sheet Page UCFTST/DCFTST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-80 URCFG/DRCFG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-82 UBOC/DBOC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-82 UNRTOC/DNRTOC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-83 UBMTH/DBMTH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-84 UCIT/DCIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-85 UMAC/DMAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-86 UMIC/DMIC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-87 UEC/DEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-88 LCI0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-90 LCI1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-92 TCT0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-95 TCT1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-98 QCT0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-103 QCT1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-104 QCT2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-106 QCT3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-106 SOT0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-108 SOT1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-110 MASK0/MASK1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-111 MASK2/MASK3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-112 CONFIG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-113 LEVL0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-114 LEVL1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-115 LEVL2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-116 LEVH0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-117 LEVH1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-118 LEVH2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-119 CDVU/CDVD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-120 QMSKU0/QMSKU1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-121 QMSKD0/QMSKD1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-122 QPTLU0/QPTLD0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-126 QPTLU1/QPTLD1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-127 QPTHU0/QPTHD0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-128 QPTHU1/QPTHD1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-129 SCTFU/SCTFD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-131 SMSKU/SMSKD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-133 SADRU/SADRD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-136 SCTIU/SCTID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-137 ECRIU/ECRID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-140 ECRFU/ECRFD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-143 CRTQU/CRTQD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-145 SCEN0U/SCEN0D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-146 SCEN1U/SCEN1D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-147 SCEN2U/SCEN2D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-148 ISRU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-149 ISRD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-152 IMRU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-155 IMRD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-156 MAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-157 WAR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-159 9 09.99 Register 52 Register 53 Register 54 Register 55 Register 56 Register 57 Register 58 Register 59 Register 60 Register 61 Register 62 UTRXFILL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MODE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UTOPHY0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UTOPHY1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UTOPHY2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UTATM0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UTATM1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UTATM2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TEST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VERH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VERL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-161 6-162 6-165 6-166 6-167 6-168 6-169 6-170 6-171 6-172 6-172 Data Sheet 10 09.99 PXB 4330 List of Internal Memory Tables Page Internal Table 1:LCI Table Transfer Registers LCI0, LCI1 . . . . . . . . . . . . . . . . . . . 6-89 Internal Table 2:Traffic Class Table Transfer Registers TCT0, TCT1 . . . . . . . . . . 6-93 Internal Table 3:Queue Configuration Table Transfer Registers QCT0..3 . . . . . . 6-102 Internal Table 4:Scheduler Occupancy Table Transfer Registers SOT0, SOT1 . 6-107 Internal Table 5:Queue Parameter Table Transfer Registers. . . . . . . . . . . . . . . . 6-123 Internal Table 6:Scheduler Configuration Table Fractional Transfer Registers . . 6-130 Internal Table 7:Scheduler Configuration Table Integer Transfer Registers . . . . 6-134 Data Sheet 11 09.99 Data Sheet 12 09.99 PXB 4330 Preface The ATM Buffer Manager (ABM) is part of Infineon's ATM Layer chipset consisting of four devices that provide a complete solution of ATM Layer functionality on ATM Line Cards for Enterprise- and Central Office Switches, DSLAMs and Access Multiplexers. The chipset has a featureset for processing ATM Layer functionality for STM-4/OC-12 requirements in a very cost effective way. The ABM is a very powerful and feature-rich solution for an effective ATM Traffic Management and includes buffer capacity for up to 128 K cells with a bi-directional throughput of 687 MBit/sec. The device supports CBR, VBR-rt, VBR-nrt, ABR, UBR and UBR+ traffic. The document provides a complete reference information on functional -, operational -, interface - and register description as well as electrical characteristics and package information. For application specific questions different application notes can be provided upon request. Organization of this Document This Data Sheet is divided into 10 chapters and is organized as follows: * Chapter 1, Overview Gives a general description of the product and its family, lists the key features, includes a Logic Symbol, and presents some typical applications. * Chapter 2, Pin Descriptions Provides detailed pin desciptions and a pin out diagram for the PXB 4330. * Chapter 3, Functional Description Provides detailed descriptions of all major functional blocks of the device. * Chapter 4, Operational Description Describes initialization and test, configuration and connection setup, queues and classes, and connection types. * Chapter 5, Interface Descriptions Begins with information about the UTOPIA Interfaces, RAM Interfaces, Microprocessor Interface, and JTAG Test Interface, and concludes with the Clocking concept. * Chapter 6, Register Descriptions Provides both an overview of the ABM Register Set and detailed descriptions of the registers. * Chapter 7,Electrical Characteristics Gives Absolute Maximum Ratings, Operating Ranges, DC and AC Characteristics, Timing information and diagrams for the various interfaces, Capacitances, and Package Characteristics. * Chapter 8, Package Outlines Includes detailed package information. * Chapter 9, References Provides detailed bibliographic information for references cited in the document. Data Sheet 13 09.99 * Chapter 10, Acronyms Includes abbreviations frequently used in this document and their meanings. Data Sheet 14 09.99 Your Comments We welcome your comments on this document as we are continuously aiming at improving our documentation. Please send your remarks and suggestions by e-mail to sc.docu_comments@infineon.com Please provide in the subject of your e-mail: device name (ABM), device number (PXB 4330), device version (Version 1.1), and in the body of your e-mail: document type (Data Sheet), issue date (09.99) and document revision number (DS 2). Variables 15 09.99 PXB 4330 Overview 1 Overview The PXB 4330 ATM Buffer Manager (ABM) is a member of the Infineon ATM layer chip set. The chip set consists of: * * * * PXB 4330 E ATM Buffer Manager ABM PXB 4340 E ATM OAM Processor AOP PXB 4350 E ATM Layer Processor ALP PXB 4360 F Content Addressable Memory Element CAME These chips comprise a complete chip set with which to build an ATM switch. A generic ATM switch consists of a switching fabric and switch ports as shown in Figure 1-1. Conn. RAM UTOPIA Pol. RAM ARC UTOPIA Conn. RAM UTOPIA Pointer RAM Cell RAM UTOPIA Conn. RAM SLIF PHYs PXB 4350 E PXB 4340 E PXB 4330 E ALP AOP ABM SWF PreASP Proc. ATM switching fabric SWF PXB 4325 E consisting of PXB 4310 E ASM chips Conn. RAM Conn. RAM = connection data RAM Pol. RAM = policing data RAM ARC = address reduction circuit Cell RAM = ATM cell storage RAM Conn. RAM Cell RAM Conn. RAM switch port Figure 1-1 ATM Switch Basic Configuration In the Infineon ATM layer chip set, the traffic management function is performed by the PXB 4330 E ABM. Policing, header translation, and cell counting is performed by the PXB 4350 E ALP; OAM functions by the PXB 4340 E AOP. The PXB 4360 F CAME can be used optionally as an external Address Reduction Circuit (ARC) for the PXB 4350 E ALP. Data Sheet 1-16 09.99 ATM Buffer Manager ABM PXB 4330 Version 1.1 CMOS 1.1 Features Performance * ATM layer processing up to STM-4/OC-12 equivalent * Throughput up to 687 Mbit/s, bi-directional * Uni-directional mode with resources of both P-BGA-352-1 directions usable (optional) * Up to 8192 connections, individually assignable to queues * Up to 1024 queues per direction, individually assignable to schedulers and to service classes * FIFO queuing within each queue * Up to 48 schedulers per direction with programmable service rates, individually assignable to PHYs (up to 96 schedulers per direction by cascading two ABM chips, see Application Note [7]) * Up to 16 traffic classes with individually selectable thresholds for service classes * Up to 24 PHYs Queuing Functions * * * * * Common high-priority real-time bypass for both directions High-priority real-time bypass for each scheduler Queueing per-VC for up to 1024 connections per direction Weighted fair queuing with 15,360 weight factors programmable for each queue Optional shaping selectable for each queue (peak rate limiting) with minimum rate 100 cells/s (63,488 programmable rates) Traffic Class Support * Common and per scheduler high-priority real-time bypass for CBR and VBR-rt * Guaranteed buffer space for CBR and VBR-rt * Optional cell spacing for CBR (using per-VC queuing) Type PXB 4330 Data Sheet Package P-BGA-352-1 1-17 09.99 PXB 4330 Overview * Per-VC queuing for VBR-nrt, ABR, UBR+, GFR * Guaranteed rates, programmable per queue, via weight factors for VBR-nrt, ABR, UBR+ * PCR limitation programmable for VBR-nrt, ABR, UBR * EFCI marking and CI/NI update in backward RM cells for ABR * Per connection optional EPD/PPD support for ABR, UBR and UBR+ * Selective low-priority packet discard for GFR * Queue sharing for UBR * Up to 16 traffic classes with individual thresholds Thresholds * * * * * * Cell acceptance based on thresholds Thresholds for individual queues, traffic classes, schedulers and whole buffer PPD/maximum discard thresholds EPD discard thresholds CLP discard thresholds EFCI and CI/NI thresholds Interfaces * Two external SDRAM Interfaces for cell storage, one for upstream and one for downstream direction, each 2 x 16 Mbit for 64K cells * One common cell pointer SSRAM Interface with 128K x 16bit or 64K x 16bit * Multiport UTOPIA Level 2 Interface in up- and downstream direction according to The ATM Forum, UTOPIA Level 1 and 2 specifications [1, 2] * 4-cell FIFO buffer at UTOPIA upstream interfaces and downstream receive interface * 64-cell shared buffer for up to 24 PHYs at UTOPIA downstream transmit interface * 16-bit Microprocessor Interface, configurable as Intel or Motorola type * Boundary Scan Interface according to JTAG [4] Supervision Functions * Internal pointer supervision * Cell header protection function Technology * * * * 0.35 CMOS Ball Grid Array BGA-352 package (Power BGA) Temperature range from -40C to 85C Power dissipation 1.3 W (typical) Data Sheet 1-18 09.99 PXB 4330 Overview Operating Modes Mode Bi-directional Uni-directional Uni-directional with one Core disabled* Throughput 2 x 622 Mbps 622 Mbps 622 Mbps Resources 2 x 1024 Queues 2 x 48 Schedulers 2048 Queues 96 Schedulers 1024 Queues 48 Schedulers * This mode is used for power reduction and for elimination of one of the two external SDRAMs (only 1M SSRAM is required in this case) Data Sheet 1-19 09.99 PXB 4330 Overview 1.2 Logic Symbol upstream cell storage RAM Interface 2 x 16M SDRAM master transmit interface 2M SSRAM common cell pointer RAM Interface PXB 4330 E ABM Test / JTAG Interface Clock and Reset interface slave UTOPIA receive interface UTOPIA UTOPIA receive interface UTOPIA transmit interface Microprocessor Interface, 16bit 2 x 16M SDRAM downstream cell storage RAM Interface Figure 1-2 Logic Symbol Data Sheet 1-20 09.99 PXB 4330 Overview 1.3 ABM Overview The ATM Buffer Manager (ABM) has four UTOPIA Level 2 interfaces with selectable bus width of 8- or 16-bits running up to 52 MHz. This enables up to 622 Mbit/s equivalent throughput. Internal processing speed is limited to 687 Mbit/s. One receive/transmit UTOPIA Interface operates in Master Mode, the other in Slave Mode. The UTOPIA interfaces are connected internally to two identical ABM Cores as shown in Figure 1-3 below. SSRAM interface SDRAM interface ABM Core upstream UTOPIA upstream receive MASTER UTOPIA upstream transmit SLAVE common LCI Table 11 UTOPIA downstr. transmit MASTER 01 00 1 UTOPIA downstr. receive SLAVE ABM Core downstream SDRAM interface 0 mP interface JTAG interface Figure 1-3 LCI L lC ABM Block Diagram ti Id tifi Multiplexers in the downstream data stream are provided for selection of uni-directional or bi-directional operating modes. In Uni-directional Mode, one of the ABM Cores can be inactivated to save power consumption and reduce external RAM requirements. Both ABM Cores contain these high-level queuing functions: * * * * Per-VC queuing for up to 1024 connections 48 Schedulers with weighted fair queuing Real-time bypass Peak rate limiter The queueing functions are described in more detail in "Functional Description" on page 3-37. The ABM Cores also control the external SDRAM for storage of up to 64K cells. They share the common Local Connection Identifier (LCI) table and the external SSRAM in which the cell pointers are stored. Data Sheet 1-21 09.99 PXB 4330 Overview 1.4 ATM Layer Chip Set Overview The PXB 4330 E ABM is a member of the Infineon ATM Layer chip set. The chip set includes: * * * * PXB 4330 E ATM Buffer Manager ABM PXB 4340 E ATM OAM Processor AOP PXB 4350 E ATM Layer Processor ALP PXB 4360 F Content Addressable Memory Element CAME. These chips form a complete chip set with which to build an ATM switch. A generic ATM switch consists of a switching fabric and switch ports as shown in Figure 1-4. Conn. RAM UTOPIA Pol. RAM ARC UTOPIA Conn. RAM UTOPIA Pointer RAM Cell RAM UTOPIA Conn. RAM SLIF PHYs PXB 4350 E PXB 4340 E PXB 4330 E ALP AOP ABM SWF PreASP Proc. ATM switching fabric SWF PXB 4325 E consisting of PXB 4310 E ASM chips Conn. RAM Conn. RAM = connection data RAM Pol. RAM = policing data RAM ARC = address reduction circuit Cell RAM = ATM cell storage RAM Conn. RAM Cell RAM Conn. RAM switch port Figure 1-4 ATM Switch Basic Configuration In the Infineon ATM Layer chip set, the switching fabric is expected to perform cell routing only. All other ATM layer functions are performed on the switch ports: policing, header translation, and cell counting by the PXB 4350 E ALP; OAM functions by the PXB 4340 E AOP; and traffic management by the PXB 4330 E ABM. The PXB 4360 F CAME can be used optionally as an external Address Reduction Circuit (ARC) for the PXB 4350 E ALP. Only two interfaces are used for data transfer: the industry standard UTOPIA [1, 2] Level 2 multi-PHY interfaces and the proprietary Switch Link InterFace (SLIF). SLIF is a serial, differential, high-speed link using LVDS [3] levels. For low-throughput applications, a single-board switch with 622 Mbit/s throughput can be built with only one PXB 4350 E ALP, one PXB 4340 E AOP, and one PXB 4330 E ABM. Such a mini-switch (Figure 1-5) is basically a stand alone single port switch, without the switching network access which would be provided by the PXB 4325 E ASP. Data Sheet 1-22 09.99 PXB 4330 Overview Alternatively, the single-board solution could be used as a multiplexer connecting many subscriber lines to one access line. If full OAM functionality is not needed, the PXB 4340 E AOP chip could be omitted. Minimum OAM and multicast functionality are also built into the PXB 4350 E ALP. The Address Reduction Circuit (ARC) could be omitted if the built-in address reduction is sufficient. Conn. RAM UTOPIA Pol. RAM ARC UTOPIA Conn. RAM UTOPIA Pointer RAM Cell RAM Rx Master PXB 4350 E PXB 4330 E Tx Slave PHYs PXB 4340 E ALP AOP ABM Tx Master Rx Slave Conn. RAM = connection data RAM Pol. RAM = policing data RAM ARC = address reduction circuit Cell RAM = ATM cell storage RAM Conn. RAM Conn. RAM Cell RAM Figure 1-5 Mini Switch with 622 Mbit/s Throughput In addition to the two applications illustrated in Figure 1-4 and Figure 1-5, many other combinations of the chip set are possible in the design of ATM switches. Various combinations of functionality are possible because of the modular design of the chip set. Address reduction, multicast, policing, redundant switching network, and other functions can be implemented by appropriate chip combinations. The number of supported connections scales with the amount of external connection RAM. Policing data RAM can be omitted if the function is not required. Thus, the functionality and size of an ATM switch can be tailored exactly to the requirements of the specific application, without carrying the overhead burden of unnecessary functions. Data Sheet 1-23 09.99 PXB 4330 Overview 1.5 Nomenclature PHY layer 1 : : n UTOPIA interface upstream ATM layer plane 1 plane 0 upstream PHY device Line port or PHY 1 : : n PHY device switch port ATM layer device SLIF interface downstream ATM switching fabric ASF switch port ATM layer device SLIF interface downstream UTOPIA interface incoming Port data flow direction outgoing Port Figure 1-6 Nomenclature Figure 1-6 shows a typical ATM Switch with the following elements: * PHY = Line port. * PHY device = A component (chip) containing the Physical Media Dependent (PMD) and Transmission Convergence (TC) sublayers of one or several line ports. The PMD and TC together form the Physical or PHY Layer. The UTOPIA Interface is used for the interface between the PHY and ATM layers. * UTOPIA = Universal Test and OPerations Interface for ATM, defined by The ATM Forum in [1] and [2]. * Switch port = In the Infineon ATM switching strategy, performs all ATM Layer functions except routing. * ATM layer device = Combinations of the chips PXB 4350 E ALP, PXB 4340 E AOP, PXB 4330 E ABM, and PXB 4325 E ASP as shown for example in Figure 1-1. They perform the ATM Layer functions such as header translation, policing, OAM, traffic management, etc. and are interconnected with the UTOPIA Interface. * ATM Switching Fabric (ASF) = An array of PXB 4310 E ASM chips; provides space switching of ATM cells (routing), including buffering of cells for cell level congestion. * Planes 0 and 1 = Two redundant switching fabrics, which are identical. * Incoming/outgoing port = Refers to a connection with the data flow direction as shown in Figure 1-6. * Upstream/downstream = Refers to the ATM switching network; the direction towards the ASF is upstream, the direction coming from the ASF is downstream. Data Sheet 1-24 09.99 PXB 4330 Overview 1.6 System Integration The ABM has two operational modes: Bi-directional Mode and Uni-directional Mode. The directional terminology for the modes refers to the usage of the ABM cores, not to the connections. The connections are bi-directional in all cases. In Bi-directional Mode, one ABM core is used exclusively for the cells of a connection in the upstream direction and the other core exclusively handles cells of the same connection in the downstream direction. In Uni-directional Mode, only one core always will be used to handle the cells of a connection both in up- and downstream direction. The two basic applications for these modes are the switch port (Figure 1-4) and the mini-switch (Figure 1-5), respectively. On a switch port, both the upstream and downstream cell flow pass through the same ABM device. One ABM Core is used for each direction as shown in Figure 1-7. SSRAM interface SDRAM interface ABM Core upstream UTOPIA upstream receive MASTER UTOPIA upstream transmit SLAVE common LCI Table UTOPIA downstr. transmit MASTER UTOPIA ABM Core downstream SDRAM interface downstr. receive SLAVE mP interface LCI Local Connection Identifier JTAG interface Figure 1-7 ABM in Bi-directional Mode The ABM assumes that all connections are setup bi-directionally with the same Local Connection Identifier (LCI) in both directions. In the Infineon ATM chip set environment (see Figure 1-4, Figure 1-5 and Figure 1-3), the LCI is provided by the PXB 4350 E ALP and contains VPI, VCI, and PHY information. If the ABM is not used with the ALP, it can operate on VPI or VCI identifiers only. In these cases, queuing is done for VCCs and VPCs, respectively. Also, the AOP could work with full functionality with a header translation device to provide a connection identifier in the VPI field. In this case, the number of connections is reduced to 4096 per direction. In a mini-switch, the throughput is only one times 622 Mbit/s. Only the UTOPIA Rx and Tx master interfaces are active. Both ABM Cores are selected from the multiplexer Data Sheet 1-25 09.99 PXB 4330 Overview options shown in Figure 1-8. Each cell is forwarded to both ABM Cores; but, the LCI table entry for the connection determines which of the two Cores accepts the cell. The other Core ignores it. Thus, each cell is stored and queued in one of the two Cores. The cell streams of both Cores are multiplexed together at the output. The schedulers must be programmed such that the sum of all output rates does not exceed the maximum rate supported by the UTOPIA transmit interface. SSRAM interface SDRAM interface ABM Core upstream UTOPIA upstream receive MASTER UTOPIA upstream transmit SLAVE common LCI Table UTOPIA downstr. transmit MASTER UTOPIA ABM Core downstream SDRAM interface downstr. receive SLAVE mP interface JTAG interface Figure 1-8 ABM in Uni-directional Mode Using both Cores If the resources of one Core are sufficient, the downstream Core can be deactivated (see Figure 1-9). This reduces the power consumption and allows omission of the external downstream SDRAM. It also permits the SSRAM to be smaller (see below). Data Sheet 1-26 09.99 PXB 4330 Overview SSRAM interface SDRAM interface ABM Core upstream UTOPIA upstream receive MASTER UTOPIA upstream transmit SLAVE common LCI Table UTOPIA downstr. transmit MASTER UTOPIA ABM Core downstream SDRAM interface downstr. receive SLAVE mP interface JTAG interface Figure 1-9 ABM in Uni-directional Mode Using one Core 1.6.1 LCI Translation in Mini-Switch Configurations In Uni-directional applications, the ABM can be programmed to make a minimum header translation. This is necessary in a Mini-Switch configuration as both the forward and backward direction of a connection traverse the devices in the same direction. The OAM functions in the ALP or AOP device need the same LCI for forward and backward direction of a connection. This is clarified by the example shown in Figure 1-10 in which a connection is setup from PHY1 to PHY2. VPI/VCI1 is the identifier on the transmission line where PHY1 is connected. The terminal sends ATM cells with this identifier and expects cells in the backward direction from PHY2 with the same identifier. The ALP in the upstream direction translates VPI/VCI1 into LCI1, the unique local identifier for this connection in the upstream direction. Similarly, for the backward connection from PHY2 to PHY1, the ALP receives ATM cells from PHY2 with the identifier VPI/VCI2 and translates them into LCI2. Data Sheet 1-27 09.99 PXB 4330 Overview ABM (uni-directional mode) VPI/VCI1 Cores LCI1 LCI1 LCI2 Phy 1 HT ALP LCI2 AOP LCI1 LCI1 LCI2 HT Phy 2 VPI/VCI2 LCI2 LCI= LCI+/-1 HT = Header Translation LCI = Local Connection Identifier Figure 1-10 Connection Identifiers in Mini-Switch Configuration For minimum complexity, the header translation of the ABM is done by inverting the Least Significant Bit (LSB) of the LCI. This measure divides the available LCI range into two parts: odd LCI values for forward connections and even LCI values for backward connection (i.e. it reduces the available number of connection identifiers to 4096, because two LCI values are used per connection). This is not a restriction in the case of arbitrary address reduction modes as, for example, the ALP with the CAME chip, as ATM connections are always setup bi-directionally with the same VPI/VCI in both directions of a link. Note: In case of fixed address reduction, as, for example, the ALP with the built-in Address Reduction Circuit (ARC), the usable LCI range may be seriously restricted, depending on the PHY configuration. Data Sheet 1-28 09.99 PXB 4330 Pin Descriptions 2 2.1 * Pin Descriptions Pin Diagram (top view) P-BGA-352-1 A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 VSS B VSS C CPADR 3 D CP ADSC CPADR 2 CPADR 5 E UTATM CLK F TXCLA VU0 TXCLA VU3 TST OUT2 CPADR 0 G TXDAT U13 TXDAT U15 TXCLA VU2 H TXDAT U9 TXDAT U12 TXDAT U14 TXCLA VU1 J TXDAT U6 TXDAT U8 TXDAT U11 K TXDAT U2 TXDAT U4 TXDAT U7 TXDAT U10 L TXPRT YU TXDAT U1 TXDAT U3 TXDAT U5 M TXADR U2 TXADR U3 TXSOC U TXDAT U0 N VSS P VSS R TXENB U0 RXCLA VD3 RXCLA VD2 RXCLA VD0 T RXCLA VD1 RXDAT D15 RXDAT D13 RXDAT D11 U RXDAT D14 RXDAT D12 RXDAT D9 RXDAT D6 V RXDAT D10 RXDAT D8 RXDAT D5 W RXDAT D7 RXDAT D4 RXDAT D2 RXPRT YD Y RXDAT D3 RXDAT D1 RXSOC D RXADR D1 AA RXDAT D0 RXADR D3 RXADR D0 RXENB D1 AB RXADR D2 RXENB D3 RXENB D0 AC RXENB D2 MP MOD AD MPCS AE VSS AF VSS VSS VDD VSS CPGW TXADR U0 TXADR U1 TXENB U3 TXENB U2 TXENB U1 VSS VDD VSS CPADR 8 CPADR 12 CPADR 16 CPDAT 3 CPDAT 6 CPDAT 10 CPDAT 13 VSS VDD CPADR 1 CPADR 4 MPRDY VDD VSS MPDAT 15 MPDAT 11 MPDAT 7 MPDAT 3 MPDAT 0 MPADR 4 MPADR 1 RDATD 29 RDATD 26 RDATD 23 CPADR 9 CPADR 13 CPDAT 0 CPDAT 4 CPDAT 7 CPDAT 11 CPDAT 15 CPADR 6 CPADR 10 CPADR 14 CPDAT 1 CPDAT 5 CPDAT 8 CPDAT 12 VDD CPOE VDD VDD VDD MPINT VDD MPWR MPDAT 14 MPDAT 10 MPDAT 6 MPDAT 2 MPADR 7 MPADR 3 RDATD 31 RDATD 28 RDATD 24 RDATD 21 RDATD 20 RDATD 16 RDATD 12 RDATD 9 RDATD 5 RDATD 1 RADRD 10 RADRD 6 RADRD 2 CPADR 7 CPADR 11 CPADR 15 CPDAT 2 MPRD MPDAT 13 MPDAT 9 MPDAT 5 MPDAT 1 MPADR 6 MPADR 2 RDATD 30 RDATD 25 RDATD 22 RDATD 19 RDATD 15 RDATD 10 RDATD 6 RDATD 2 RADRD 11 RADRD 7 RADRD 3 MPDAT 12 MPDAT 8 MPDAT 4 VDD VDD RCASU CPDAT 9 CPDAT 14 MPADR 5 MPADR 0 RDATD 27 RADRU 0 RADRU 3 RRASU RWEU RADRU 2 RADRU 6 RADRU 7 RADRU 10 RDATU 2 RDATU 5 RDATU 9 RDATU 13 RDATU 16 RDATU 20 RDATU 24 RDATU 28 RADRU 1 RADRU 5 RADRU 8 RADRU 11 RDATU 4 RDATU 8 RDATU 12 RDATU 15 RDATU 19 RDATU 23 RDATU 27 RDATU 31 RCSU VSS RADRU 4 Bottom View VDD VSS VSS VDD RDATD 18 RDATD 13 RDATD 8 RDATD 3 VSS RADRU 9 RDATU 0 RDATU 3 RDATU 7 RDATU 10 RDATU 14 RDATU 17 RDATU 21 RDATU 25 RDATU 29 RDATU 1 RDATU 6 RDATU 11 RDATD 17 RDATD 14 RDATD 11 RDATD 7 RDATD 4 RDATD 0 RADRD 9 RADRD 5 RADRD 1 VDD VDD RDATU 18 RDATU 22 RDATU 26 RDATU 30 TST MOD1 TSCAN M OUT TRI SYS CLK RXENB U2 RXADR U1 RXADR U3 RXENB U3 RXADR U2 RXSOC U RXDAT U1 RXDAT U0 RXDAT U3 RXDAT U6 RXDAT U8 RXDAT U5 RXDAT U7 RXDAT U9 RXDAT U11 RXDAT U10 RXDAT U12 RXDAT U13 RXDAT U14 RXDAT U15 RXCLA VU0 RXCLA VU1 TXADR D0 TXENB D2 TXENB D1 TXENB D0 TXPRT YD TXADR D3 TXADR D1 TXENB D3 TXDAT D4 TXDAT D1 TXSOC D TXADR D2 TXDAT D11 TXDAT D8 TXDAT D6 TXDAT D3 TXDAT D15 TXDAT D12 TXDAT D9 TXDAT D7 TXCLA VD3 TXCLA VD0 TXDAT D13 TXDAT D10 RADRD 8 RADRD 4 RADRD 0 RWED RCSD VDD VDD VDD VDD TCK VDD TRST RRASD VSS VDD TST OUT1 TSCAN EN EXT FREEZ RESET RXPRT YU RXDAT U2 RXDAT U4 RXCLA VU3 RXCLA VU2 TXDAT D5 TXDAT D2 TXDAT D0 UTPHY CLK TXCLA VD1 TXDAT D14 TDI VDD VSS RCASD VSS VDD VSS UTTRI RXENB U1 RXADR U0 TDO VSS VDD VSS VSS VSS TST CLK RXENB U0 VSS VSS TXCLA VD2 TMS VSS VSS Figure 2-1 Pin Configuration Data Sheet 2-29 09.99 PXB 4330 Pin Descriptions Some pins are connected to an internal pull up resistor or to an internal pull down resistor. Such pins are indicated as follows in Table 2-1: * Pins shown with a 1) are connected with an internal pull up resistor. * Pins shown with a 2) are connected with an internal pull down resistor. Note: The ABM signal pins are not 5V I/O tolerant. For further details refer to "Electrical Characteristics" on page 7-174. Table 2-1 Pin No. Pin Definitions and Functions Symbol Input (I) Function Output (O) Clock and Reset (4 pins) F24 G23 AB24 E1 RESET SYSCLK I I Chip Reset Main Chip Clock UTOPIA Clock at PHY side (Master). UTOPIA Clock at ATM side (Slave). UTPHYCLK I UTATMCLK I Utopia Interface Receive Upstream Master (30 pins) N23, M26, M25, M24, L26, M23, L25, K26, L24, K25, L23, J26, K24, J25, H26, K23 2) G26, H24, G25, F26 J24 2) H23, G24, F25, E26 P24, P25, N25, N24 2) H25 2) RXDATU (15:0) I Receive Data Bus from PHY side. RXADRU (3:0) RXPRTYU RXENBU (3:0) RXCLAVU (3:0) RXSOCU O I O I I Address Outputs to PHY side. Odd Parity of RXDATU(15:0) from PHY side. Enable signal to PHY side. Cell Available signal from PHY side. Start of Cell signal from PHY side. Data Sheet 2-30 09.99 PXB 4330 Pin Descriptions Table 2-1 Pin No. Pin Definitions and Functions (cont'd) Symbol Input (I) Function Output (O) Utopia Interface Transmit Downstream Master (30 pins) Y23, AB26, AA25, Y24, W23, AA26, Y25, W24, Y26, W25, V24, U23, W26, V25, U24, V26 T24, U26, T25, R23 T23 T26, R24, R25, R26 TXDATD (15:0) O Transmit Data Bus to PHY side. TXADRD (3:0) TXPRTYD TXENBD (3:0) O O O I O Address Bus to PHY side. Odd Parity to PHY side. Enable signal to PHY side. Cell Available signal from PHY side. Start of Cell signal to PHY side. AA23, AC26, TXCLAVD AB25, AA24 2) (3:0) U25 TXSOCD Utopia Interface Receive Downstream Slave (30 pins) T2, U1, T3, U2, T4, V1, U3, V2, W1, U4, V3, W2, Y1, W3, Y2, AA1 2) RXDATD (15:0) I Receive Data Bus from ATM side. AA2, AB1, Y4, RXADRD (3:0) AA3 2) W4 2) AB2, AC1, AA4, AB3 1) R2, R3, T1, R4 Y3 2) Data Sheet I I I O I Address Bus from ATM side. Odd Parity of RXDATD(15:0) from ATM side. Enable signals from ATM side. Cell Available signal to ATM side. Start of Cell signal from ATM side. 2-31 09.99 RXPRTYD RXENBD (3:0) RXCLAVD (3:0) RXSOCD PXB 4330 Pin Descriptions Table 2-1 Pin No. Pin Definitions and Functions (cont'd) Symbol Input (I) Function Output (O) Utopia Interface Transmit Upstream Slave (30 pins) G2, H3, G1, TXDATU H2, J3, K4, (15:0) H1, J2, K3, J1, L4, K2, L3, K1, L2, M4 M2, M1, N3, N2 2) L1 P2, P3, P4, R1 1) F2, G3, H4, F1 M3 TXADRU (3:0) TXPRTYU TXENBU (3:0) TXCLAVU (3:0) TXSOCU O Transmit Data Bus to ATM side. I O I O O Address Bus from ATM side. Odd Parity of RXDATU(15:0) to ATM side. Enable signal from ATM side. Cell Available signal to ATM side. Start of Cell signal to ATM side. Microprocessor Interface (30 pins) AF3, AE4, AD5, AC6, AF4, AE5, AD6, AC7, AF5, AE6, AD7, AC8, AF6, AE7, AD8, AF7 AE8, AD9, AC10, AF8, AE9, AD10, AF9, AC11 AD4 AC5 AD1 Data Sheet MPDAT (15:0) I/O Microprocessor Data Bus MPADR (7:0) I Address Bus from Microprocessor MPWR MPRD MPCS I I I WR when MPMOD=0 (Intel Mode) R/W when MPMOD=1 (Motorola Mode). RD when MPMOD=0 (Intel Mode) DS when MPMOD=1 (Motorola Mode). Chip Select from Microprocessor. 2-32 09.99 PXB 4330 Pin Descriptions Table 2-1 Pin No. AB4 Pin Definitions and Functions (cont'd) Symbol MPINT Input (I) Function Output (O) O Interrupt Request to Microprocessor. Open drain, needs external pull-up resistor. Interrupt pins of several devices can be wired-or together. Ready Output to Microprocessor for read and write accesses. Select Intel type processor when connected to logical 0 or select Motorola type processor when connected to logical 1. AC3 AC2 2) MPRDY MPMOD O I Cell Storage RAM Upstream (48 pins) C23, D22, A24, B23, C22, D21, A23, B22, C21, D20, A22, B21, C20, D19, A21, B20, C19, A20, B19, C18, D17, A19, B18, C17, A18, D16, B17, C16, A17, B16, D15, A16 C15, B15, A15, C14, B14, B13, C13, D13, A12, B12, C12, A11 D12 B11 A10 Data Sheet RDATU (31:0) I/O Data Bus of Upstream Cell Storage RAM RADRU (11:0) O Address Bus of Upstream Cell Storage RAM RCSU RRASU RCASU O O O RAM Chip Select RAM Row Address Strobe RAM Column Address Strobe 2-33 09.99 PXB 4330 Pin Descriptions Table 2-1 Pin No. C11 Pin Definitions and Functions (cont'd) Symbol RWEU Input (I) Function Output (O) O RAM Write Enable Cell Storage RAM Downstream (48 pins) AE10, AD11, AF10, AE11, AC12, AF11, AD12, AE12, AF12, AD13, AE13, AE14, AD14, AC14, AF15, AE15, AD15, AF16, AC15, AE16, AF17, AD16, AE17, AC16, AF18, AD17, AE18, AF19, AC17, AD18, AE19, AF20 AD19, AE20, AF21, AC19, AD20, AE21, AF22, AC20, AD21, AE22, AF23, AC21 AD22 AE23 AF24 AC22 RDATD (31:0) I/O Data Bus of Downstream Cell Storage RAM RADRD (11:0) O Address Bus of Downstream Cell Storage RAM RCSD RRASD RCASD RWED O O O O RAM Chip Select RAM Row Address Strobe RAM Column Address Strobe RAM Write Enable Data Sheet 2-34 09.99 PXB 4330 Pin Descriptions Table 2-1 Pin No. Pin Definitions and Functions (cont'd) Symbol Input (I) Function Output (O) Common Up- and Downstream Cell Pointer RAM (36 pins) B10, D11, A9, CPDAT C10, B9, A8, (15:0) D10, C9, B8, A7, C8, B7, A6, D8, C7, B6 A5, D7, C6, B5, A4, D6, C5, B4, A3, D5, C4, D3, E4, C1, D2, E3, F4 D1 E2 G4 CPADR (16:0) I/O Data Bus of Cell Pointer RAM O Address Bus of Cell Pointer RAM CPADSC CPGW CPOE O O O RAM Synchronous Address Status Processor RAM Global Write RAM Output Enable JTAG Boundary Scan (5 pins) AC24 1) TDI I Test Data Input. This pin has an internal pull-up resistor. In normal operation, it must not be connected. Test Clock. This pin has an internal pull-up resistor. In normal operation, it must not be connected. Test Mode Select. This pin has an internal pull-up resistor. In normal operation, it must not be connected. Test Data Reset This pin has an internal pull-down resistor. In normal operation, it must not be connected. Test Data Output In normal operation, must not be connected. AB23 1) TCK I AD26 1) TMS I AD23 2) TRST I AC25 TDO O Data Sheet 2-35 09.99 PXB 4330 Pin Descriptions Table 2-1 Pin No. Pin Definitions and Functions (cont'd) Symbol Input (I) Function Output (O) Test (2 pins) F23 OUTTRI I Outputs in Tristate mode. All internal pull-up and pull-down resistors are disconnected. This pin has no internal pull-up resistor and needs an external pull-up resistor. UTOPIA Outputs in Tristate mode. This pin has an internal pull-up resistor. E25 1) UTTRI I Production Test (7 pins) D25 TSCANEN I Test Scan Enable. Active high, internal pull-down resistor. Must not be connected in normal operation. Test Scan Mode. Active high, internal pull-down resistor. Must not be connected in normal operation. For device test only, do not connect. These pins have internal pull-up resistors. Must not be connected in normal operation. For device test only, do not connect. For device test only, do not connect. E24 2) TSCANM I D26 1) E23 1) D24 F3 C26 EXTFREEZ I TSTMOD1 TSTOUT1 TSTOUT2 TSTCLK I O O O Supply (28 VSS and 24 VDD pins) A1, A2, A13, A14, A25, A26, B1, B3, B24, B26, C2, C25, N1, N26, P1, P26, AD2, AD25, AE1, AE24, AE3, AE26, AF1, AF2, AF13, AF14, AF25, AF26 AC4, AC9, AC13, AC18, AC23, AD3, AD24, AE2, AE25, B2, B25, C3, C24, D4, D9, D14, D18, D23, J23, J4, N4, P23, V4, V23 VSS, Chip Ground (All pins should be connected to the same level) VDD, Chip 3.3 V Supply (All pins should be connected to the same level) Total signal pins: 300; total power pins: 52. Data Sheet 2-36 09.99 PXB 4330 Functional Description 3 3.1 Functional Description The ABM Core Figure 3-1 shows the block diagram of an ATM Buffer Manager (ABM) Core. Cells with up to 687 Mbit/s (with 52 MHz SYSCLK) are assigned to Schedulers and queues within the Cell Acceptance block. As it enters, each cell is checked to verify that it would not exceed the respective thresholds which are provided for queues, schedulers, QoS classes (traffic classes), as well as the total buffer capacity. Once accepted, a cell cannot be lost, but will appear at the output after some time (exception: queue has been disabled while cells are stored). The optional Peak Rate Limiter is provided for the shaping of individual queues. The demultiplexer forwards the cells to the respective Scheduler. The Scheduler sorts them into queues and schedules them for retransmission according to the programmed configuration. The Scheduler is the key queuing element of the ABM. The behavior of the Scheduler is described below. The output multiplexer combines the cell streams for all Schedulers. Their output rates must be programmed such that the sum rate does not exceed the total output bandwidth. ABM Core global real time bypass Thresholds (Traffic Classes) CBR, VBR-rt Cell Input d e m u x scheduler block 1 real time bypass out Cell Acceptance VBR ABR W F Q in UBR+ Legend: Port with PCR, SCR priority mux cyclic mux UBR scheduler block i W weighted fair queuing mux F Q queue scheduler block 48 Figure 3-1 Block Diagram of one ABM Core Data Sheet 3-37 09.99 PXB 4330 Functional Description 3.1.1 ABM Configuration The ABM uses tables and pointer mechanisms for configuration flexibility, as shown in Figure 3-2. The free assignment of connections (LCIs) to queues allows queuing on a per-VC basis as well as permitting the sharing of a queue by several connections. Each queue can be assigned to any Scheduler. Independent of the Schedulers, each queue is also assigned to a traffic class with individual thresholds for up to 16 service classes. LCIa connection specific data QID SID scheduler specific data 48 schedulers queue specific data C af Tr s las LCIb connection specific data QID 1024 queues traffic class specific data 16 service classes 8K connections LCI = Local Connection Identifier QID = Queue Identifier SID = Scheduler Identifier TrafClass = Traffic Class Identifier Figure 3-2 ABM Configuration Data Sheet 3-38 09.99 PXB 4330 Functional Description 3.1.2 The Scheduler The basic building block of the ABM is the Scheduler. A Scheduler is a cascade of two multiplexers: a Weighted Fair Queuing (WFQ) Multiplexer, and a Priority Multiplexer, as shown in Figure 3-3. The inputs of the multiplexers are connected to a programmable number of queues. real time queue W1 W2 queues for non-real time connections Wn-1 Wn W F Q output rate Wn = weight factor of non real time queue n Figure 3-3 Scheduler Structure One single queue is provided for all real-time connections. It is connected directly to the high-priority input of the Priority Multiplexer (marked with the arrow symbol). The 2-input Priority Multiplexer first takes a cell from the high-priority input; and, only if there is no cell here, then looks at the low-priority input where the WFQ Multiplexer is connected. Thus, real-time traffic is always prioritized. As the output rate of the Scheduler is limited - as denoted in Figure 3-3 with the bubble symbol at the Priority Multiplexer output - the non-real-time connections share the remaining bandwidth. This behavior is shown in Figure 3-4. bandwidth output rate non-real time connections (low priority) real time connections (high priority) Figure 3-4 Data Sheet Scheduler Behavior 3-39 09.99 PXB 4330 Functional Description The WFQ Multiplexer permits sharing of the remaining bandwidth by the non-real-time connections. The WFQ Multiplexer has a maximum of 1023 inputs with a weight factor assigned to each input. It distributes the remaining bandwidth among active or occupied queues according to the weight factors. The WFQ Multiplexer has the following properties: * Fair distribution of bandwidth * Guaranteed Quality of Service (QoS) for each connection (minimum service rate, bounded delay) * Load conserving, that is, the output is always 100% * Protection against misbehaving users (exceeding their bandwidth budget). These are important, for example, in data connections having start-stop behavior. An example is shown in Figure 3-5. The duration of the data bursts and the idle periods vary over a wide range. bit rate time Figure 3-5 Data Traffic Example For non-real-time connections, normally one queue is assigned to each connection, that is, per-VC queuing. During idle periods, the queues will run empty, and, when a data burst is sent, they fill up again. The WFQ Multiplexer automatically deals with the varying load situations and always distributes the bandwidth according to the weight factors. An example of a Scheduler with one real-time queue (Queue 1) and nine non-real-time queues (Queue 2 through Queue 10) is shown in Figure 3-6. Queue 1 is shared by a number of connections with different bit rates. Data Sheet 3-40 09.99 PXB 4330 Functional Description spare bandwidth 10 9 8 7 10 9 8 7 9 7 6 6 6 5 4 3 2 5 4 3 2 Scheduler bandwidth 1 1 1 real time traffic connection setup with guaranteed cell rates not reserved bandwidth distributed unused bandwidth distributed Figure 3-6 Scheduler Behavior Example The left column in Figure 3-6 shows the Scheduler load as seen from Connection Acceptance Control (CAC). New connections are accepted as long as their guaranteed rates fit the spare bandwidth of the Scheduler. "Guaranteed rate" is defined below. The center column shows the case in which all Queues 2..10 are filled; that is, all nonreal time connections are sending data. The total non-real-time bandwidth, including the spare bandwidth, is then distributed to the 9 queues according to their weight. In this case, two weight factors are defined, 1 and 10. The right column shows the case of only three queues (6, 7 and 9) filled; all other connections are not sending data at this time. Again, the available bandwidth is fairly distributed among the queues, still conserving the 1:10 ratio defined by their weights. Notice that bandwidth of the real-time connections is not affected by bandwidth re-adjustments; but, remains constant over time under the assumption that real-time connections are constantly sending data. If, however, a real-time connection should not use its bandwidth, the bandwidth would be used immediately by the non-real-time connections. The behavior shown in Figure 3-6 of the WFQ Multiplexer for non-real-time connections has advantages for both the network operator and for the end user: * The available bandwidth is always used completely, resulting in optimum usage of transmission resources * A user paying for a higher guaranteed rate also obtains higher throughput under all load conditions. Data Sheet 3-41 09.99 PXB 4330 Functional Description Guaranteed Rate The guaranteed rate is the rate which the network must guarantee the user at any time. Table 3-1 Guaranteed Rates for each Traffic Class Guaranteed Rate PCR SCR...PCR SCR MCR MCR none Guaranteed rate always > 0 with WFQ Multiplexer Guaranteed rate can be chosen below PCR for statistical multiplexing gain Comment Traffic Class CBR VBR-rt VBR-nrt ABR UBR+ UBR 3.1.3 Scheduler Usage The ABM chip allows arbitrary assignment of connections to queues and of queues to Schedulers. A Scheduler can be assigned to any UTOPIA PHY. Usage of a Scheduler differs in switch input (ingress) or output (egress). For the Mini-Switch application (see Figure 1-5) the ingress case does not exist. At a switch output, the Schedulers provide constant cell streams to fill the payloads of the PHYs. Either the entire cell stream of a PHY is provided or it is disassembled into several VPCs as shown in Figure 3-7. A VPC may contain both real-time and data connections. This is the case for a VPC which connects two corporate networks (virtual private networks), for example. The Scheduler concept has the advantage that data traffic is automatically adjusted after setup or teardown of a real-time connection. The output rate of a Scheduler in both applications is usually constant. The Schedulers always react to UTOPIA backpressure or can be controlled completely by backpressure instead of shaping. All Schedulers whose physical outputs are asserting backpressure are hold on serving. Scheduler serving time slots which are lost due to temporary backpressure are maintained and served later, if possible. Therefore, the rate with some CDV will be maintained. The maximum number of stored time slots which can be configured is equal to the maximum burst possible for that port or path. Data Sheet 3-42 09.99 PXB 4330 Functional Description Switch Fabric* PHY 1 Switch Port (ABM) PHY bottleneck 155 Mbps PHY n VPC1 bottleneck VPC2 bottleneck PHY 155 Mbps * no Switch Fabric for Workgroup Switch = Scheduler Figure 3-7 Scheduler Usage at Switch Output At a switch input, each Scheduler is assigned to a switch output (Figure 3-8). A switch with n ports needs n2 Schedulers. The output rate of each Scheduler is re-adjusted continuously to obtain maximum switch throughput without overloading the switch port output rate. This principle is called Preemptive Congestion Control, that is, congestion due to overload is avoided. Data Sheet 3-43 09.99 PXB 4330 Functional Description Port 1 (ABM) Switch Fabric Port 1 R1,1 Rn,1 switch egress port bottleneck 622 Mbps Port n Port n R1,n Rn,n switch egress port bottleneck 622 Mbps switch ingress port bottlenecks 622 Mbps Ri,j = Rate from Port i to Port j = Scheduler Figure 3-8 Scheduler Usage at Switch Input There are two options for Scheduler rate adjustment: * After each connection setup or teardown (static bandwidth allocation). * Dynamic bandwidth allocation using Input Scheduler Buffer fill information to assign Scheduler rates dynamically. Note: An algorithm for static bandwidth allocation is available on request. Data Sheet 3-44 09.99 PXB 4330 Functional Description 3.1.4 Quality of Service Class Support As well as rate guarantees, the support of Quality of Service (QoS) classes is related closely to the threshold-based cell acceptance. One set of thresholds for each QoS class is programmed in the traffic class table (see also Figure 3-10). The traffic class table contains the following thresholds: * Maximum non-real time cells in the entire buffer * EPD threshold for non-real-time cells in the entire buffer * The 2-fold threshold A) Maximum stored cells in each queue of this traffic class (if EPD disabled) or B) The EPD threshold for each queue of this traffic class (if EPD enabled) * The triple threshold A) Threshold for each queue of the traffic class where the Congestion Indication (CI) for ABR traffic is set and B) Threshold where low priority cells (CLP=1) are not accepted (if the CLP transparent flag CLPT is set for the connection) C) Queue EPD threshold for GFR (CLPT is false). EPD is triggered if both thresholds 4C and 2 are exceeded. * Threshold for the maximum number of cells of this traffic class which can be buffered * The 3-fold threshold for the scheduler occupancy A) maximum number of cells in the scheduler if EPD not enabled or B) EPD threshold for cells in the scheduler if EPD enabled or C) ABR congestion indication (EFCI, CI) if ABR is enabled Note: All maximum thresholds are automatically also PPD thresholds, that is, if the maximum fill value is reached, PPD is started if enabled. If PPD is not enabled, cells are discarded if the threshold is reached. Figure 3-9 shows the independent assignment of queues to traffic classes and Schedulers. Because Schedulers contain the routing function, they must be independent of the QoS class contained in the traffic class table. Data Sheet 3-45 09.99 PXB 4330 Functional Description Scheduler 1 W F Q d e m u x Scheduler 48 W F Q Traffic class 1 Traffic class 2 Traffic class 16 Figure 3-9 Queue Grouping Examples of traffic classes are * Real-time traffic * LAN emulation traffic * Internet (IP) traffic Figure 3-10 shows an example of threshold configurations for four traffic classes. Total Buffer Size VBR PPD = Buffer Size-256 guaranteed 256 cells for real time ABR PPD ABR EPD UBR PPD UBR EPD guaranteed buffer space for VBR new ABR packets are not accepted guaranteed buffer space for ABR+VBR new UBR packets are not accepted buffer fill 4 traffic classes: UBR, ABR, VBR, real time Figure 3-10 Example of Threshold Configuration Data Sheet 3-46 09.99 PXB 4330 Functional Description 3.1.5 EPD/PPD Handling These functions can be enabled individually per traffic class. The dynamic flags of these functions are stored in the connection specific (LCI) table. For both functions, the ABM looks at the PTI bits of the cells to determine the packet borders of the upper SAR layer. EPD Threshold Behavior If the cell fill exceeds an EPD threshold, and EPD is enabled, new packets will not be accepted but will be discarded completely. Cells belonging to packets which have been transmitted partially are accepted. PPD Threshold Behavior If the cell fill exceeds a PPD (=max) threshold, the next cell is discarded and, if PPD is enabled, all subsequent cells of the packet are discarded except the last cell. The subsequent cells are discarded even if the cell fill might have dropped below the PPD threshold in the meantime. The last cell is accepted again to convey the discard information to the terminal (cell acceptance is possible only if the queue fill level dropped below the threshold in the meantime). By checking the CRC-32 checksum of AAL5, the terminal can determine rapidly that cells were lost and can immediately ask for retransmission. Otherwise, the terminal would need to wait for a time-out. 3.1.6 Global Thresholds The following global thresholds are provided: * Global maximum buffer threshold Cells exceeding the threshold will be discarded * Global maximum threshold for non-real-time cells * Global congestion indication threshold for ABR * Global EPD threshold for GFR CLP1 frames (CLPT bit is false) If the cell fill reaches a maximum threshold, cells are discarded as long as the overflow condition prevails. If the cell fill drops below the maximum threshold, the cells are accepted again immediately. 3.1.7 Scheduler Thresholds For each upstream direction Scheduler, two individual thresholds can be programmed which are continuously compared by the ABM. The results of all comparisons are provided bit-mapped into microprocessor registers, so that the external controller can rapidly check the fill state of the Schedulers. This feature is provided to enhance the throughput over a switching network by dynamic re-programming of the Scheduler output rates, depending on the actual load. This is more efficient than the static rate adjustment. Data Sheet 3-47 09.99 PXB 4330 Functional Description 3.1.8 Statistical Counters The ABM chip provides several statistical counters for maintenance purposes. Global Counters: * Total stored cells upstream and downstream * Total stored non-real-time cells upstream and downstream Per Traffic Class Counters: * * * * * Accepted packets Discarded packets or discarded CLP = 1 cells Total discarded cells Discarded cells due to scheduler overflow Discarded cells due to traffic overflow In addition, two types of sample-hold registers are provided: * Minimum buffer occupancy value since last readout upstream and downstream * Maximum buffer occupancy value since last readout upstream and downstream 3.1.9 3.1.9.1 Supervision Functions Cell Header Protection To guarantee that the cell header is not corrupted by the external SDRAM, it is protected by a 8-bit interleaved parity octet. It extends over the 5-octet standard header including the UDF1 octet. The BIP-8 octet is calculated for all incoming cells and stored at the place of the UDF2 octet. When a cell is read out, the BIP-8 is calculated again and is compared with the stored BIP-8. In case of a mismatch, an interrupt is signaled and the cell is discarded or not, depending on the configuration. Note: Due to the usage of the UDF2 field for the BIP-8, the UDF2 octet is not transparent through the ABM. 3.1.9.2 Cell Queue Supervision The queuing of cells in the ABM is implemented mostly by pointers. To detect pointer errors, the number of the queue in which the cell is stored is appended to the cell in the external cell storage SDRAM. When the cell is read out later, the selected queue number is compared to the QID stored with the cell. In case of a mismatch, an interrupt is signaled. Data Sheet 3-48 09.99 PXB 4330 Operational Description 4 Operational Description This section describes the ABM from the microprocessor point of view. 4.1 * * * * * * Initialization and Test These actions are to be performed after reset to prepare the ABM chip for operation. Check register Reset salues Initialize SDRAM Reset internal tables (RAMs) Set hardware configuration (UTOPIA configuration) Initialize traffic class tables Check data path (via adjacent ATM devices) ABM diagnostic possibilities: * Check all internal RAMs and register values 4.2 Global Configuration * Set MODE register (Uni-directional Mode or Bi-directional Mode) * Configure UTOPIA interfaces: mode, number of PHYs * Set empty rate generator (for SDRAM refresh) * Set parameter MaxBurstS(3:0), page 6-140 of the output Multiplexer (Figure 3-1) and the parameter CDVMAX(8:0), page 6-120 of the Peak Rate Limiter (Figure 3-1) * Set global thresholds * Programming of Scheduler output rates * Assignment of Schedulers to PHYs at switch egress side * Assignment of Schedulers to switch outputs at ingress side 4.3 Connection Setup To set up a connection, the complete linked list must be established: LCI Queue ID Scheduler and LCI Queue ID Traffic Class (see Figure 4-1). Additionally, the bandwidth and buffer space reservations must be performed (see below). Depending on the traffic class, special functions must be enabled; for example: ABR feedback enable or EPD/PPD for UBR. Data Sheet 4-49 09.99 PXB 4330 Operational Description ABM Internal Tables for Configuration ABM Core 1 8K entry common LCI Table UpQID (10) CLPT (1) ABMcore (1) DnQID (10) LDSTH (8) LDSTL (8) ABM Core 0 IntRate(14) FracRate (8) UtopiaPort(5) SID 48 entry Scheduler Configuration Tables LCI DnQID 2x48 entry Scheduler Occupancy Table UpQID QIDvalid (1) Trafclass (4) SID (6) ABRdir (1) 2x1024 entry Queue Configuration Table Up-/DnQID WFQFactor (14) RateFactor (16) 1024 entry Queue Parameter Table RTind (1) ABRen (1) ABRvp (1) EPDen (1) PPDen (1) TrafClass BufNrtMax (8) BufNrtEPD (8) TrafClassMax (8) 2x16 entry SbMaxEpdCi (8) Traffic QmaxEPD (8) Class QCICLP1 (8) Table Figure 4-1 Parameters for Connection Setup (Bit width indicated) Figure 4-1 refers to the following parameters: Abbreviation Description See page 6-92 UpQID Points to queue used for this connection in the upstream direction If set, the CLP bit of the cells is ignored; not set for GFR, optional for ABR and UBR Selects upstream or downstream ABM Core in the Uni-directional Mode Points to queue used for this connection in the downstream direction CLPT 6-90 ABMcore 6-90 DnQID 6-90 Data Sheet 4-50 09.99 PXB 4330 Operational Description Abbreviation Description See page 6-104 QIDvalid Enables queue; if cleared, cells directed to this queue are discarded and interrupt QIDINV (see 6-149f.) occurs Selects the traffic class Selects the Scheduler Selects the ABM Core in which RM cell update is made for ABR connections High threshold for Scheduler occupancy in steps of 256 Low threshold for Scheduler occupancy in steps of 256 Integer part of incremental value for Scheduler output rate Fractional part of incremental value for Scheduler output rate Specify UTOPIA port for this scheduler Weight of multiplexer input in 15,360 steps Select value of peak rate limiter Real-time queue indication; set to zero for WFQ queue If set, EFCI marking is enabled (ABR service category) relating to the VP or to the individual VC, respectively; If set, congestion is indicated via VP RM cells (F4 flow) If set, EPD is enabled If set, PPD is enabled TrafClass SID ABRdir 6-104 6-104 6-104 LDSTH 6-108 LDSTL IntRate 6-108 6-137 FracRate 6-131 UtopiaPort WFQFactor RateFactor RTind ABRen ABRvp 6-137 6-129 6-128 6-98 6-98 6-98 EPDen PPDen 6-98 6-98 Data Sheet 4-51 09.99 PXB 4330 Operational Description Abbreviation Description See page 6-95 BufNrtMax Defines maximum number of non-real-time cells allowed in the entire buffer for this traffic class in steps of 256 Defines threshold for EPD/maximum1) for this traffic class for the entire buffer in steps of 256 Defines maximum number of cells for this traffic class in steps of 256 Defines threshold for EPD/maximum1) for this traffic class in the Scheduler in steps of 256 Defines threshold for each queue for EPD/maximum1) for this traffic class in steps of 64 Combined threshold for each queue for CI indication (ABR) and CLP=1 cell discard in case of CLPT=0 in steps of 4 BufNrtEPD 6-95 TrafClassMax 6-98 SbMaxEpdCi 6-98 QueueMaxEPD 6-95 QueueCICLP1 6-95 1) mixed threshold: EPD if enabled; otherwise, maximum threshold 4.4 Setup of Queues Before assigning a connection to a new queue, it should be verified to be empty, as some cells could remain from the previous connection (see Section 4.5). 4.5 Teardown of Queues Disabling a queue via the queue-disable bit does not clear the cells contained in the queue, but: * The acceptance of the queue for new cells is disabled * The queue is still served, but the cells are discarded Normally, at the time a queue is cleared, there will be no more cells in the queue. This can be checked by reading the queue length. In case of a highly filled queue which is served slowly, the time to empty the queue could be long. To deplete the queue more quickly, its weight can be increased temporarily. However, because the discarded cells produce idle times on the UTOPIA output, the chosen weight factor should not be too high. Data Sheet 4-52 09.99 PXB 4330 Operational Description 4.5.1 ABM Configuration Example In this section, a popular mini-switch scenario (Figure 4-2) is used to describe the most important points for the software configuration of the ABM. Among other things, the following fixed assignments can be made in software by the user: * * * * Assignment of Schedulers to PHYs and programming of Scheduler output rates Definition of the necessary traffic classes Assignment of the queues to the traffic classes Assignment of the queues (QIDs) to the Schedulers (SIDs) Assignment of Schedulers and Programming Output Rates: The ABM has 96 Schedulers (48 in the upstream direction and 48 in the downstream direction). Each ADSL device is assigned to a separate Scheduler (this guarantees each ADSL device a 6-Mbit/s data throughput without bandwidth restrictions caused by the other ADSL devices); then, 95 ADSL devices can be connected. The 96th Scheduler will be occupied by the E3 uplink to the public network. The assignment of the Schedulers to the PHYs is totally independent and even such a strong asymmetrical structure as in (Figure 4-2) can be supported. The output rates of the Schedulers must be programmed in such a way that the total sum does not exceed 622 Mbit/s (payload rate). From the example, the following result is derived: 95 x 6 Mbit/s + 1 x 34 Mbit/s = 604 Mbit/s 622 Mbit/s. #1 #2 ADSL 6 Mbps #1 ABM ADSL 6Mbps #2 Multiplex Network Uni-directional Mode ALP #95 ADSL UTOPIA 6Mbps #95 34 Mbps E3 34Mbps #96 Uplink = Scheduler, used as virtual PHYs ( UTOPIA PHYs) Figure 4-2 Data Sheet ABM Application Example: DSLAM 4-53 09.99 PXB 4330 Operational Description Definition of Necessary Traffic Classes: The ABM allows up to 16 traffic classes to be defined by Traffic Class Table RAM entry via the registers TCT0 and TCT1, page 93. In this example, there are 3 traffic classes: * CBR (real-time) = traffic class 1 * GFR (non-real-time) = traffic class 2 * UBR (non-real-time) = traffic class 3 Assignment of the queues to the traffic classes: Each queue must relate to a defined traffic class according to the Queue Configuration Table RAM entry via the TrafClass(3:0) bits of the register QCT1, page 6-104. Figure 4-3 shows that each queue belongs to one of the traffic classes 1..3; for example, Queue 1 belongs to Traffic Class 1, Queue 2 to Traffic Class 2 (just as for Queue 3) and Queue 4 corresponds to Traffic Class 3. Assignment of the Queues (QIDs) to the Schedulers (SIDs): Every Scheduler possesses a certain number of queues depending on the assignment by the user of the SID(5:0) bits of register QCT1, page 6-104. In the example, every ADSL device has four data connections so that four queues per Scheduler are necessary. Each Scheduler of the ABM has one real-time queue and an arbitrary number of non-real-time queues. For Schedulers #1..#95, indicate that the first queue belongs to Traffic Class 1, the 2nd and 3rd Queue to Traffic Class 2, and the 4th Queue to Traffic Class 3. There are 380 (1..380) queues altogether for Schedulers #1..#95. The 96th scheduler must be able to serve the 95 ADSL devices (95 Schedulers and appropriate queues). Thus, Scheduler #96 has 95 x 2 = 190 non-real-time queues as every Scheduler from #1..#95 possesses two GFR non-real-time queues (GFR has a guaranteed minimum rate; thus, each GFR queue needs a per VC queueing). The 95 UBR queues of Schedulers #1..#95 need only one UBR queue at the 96th Scheduler as UBR has no guaranteed minimum rate. As every Scheduler has only one real-time queue, the 95 real-time queues from Schedulers #1..#95 flow into the one real-time queue of Scheduler #96. Therefore, Scheduler #96 needs the assignment of 190 (GFR) + 1 (UBR) + 1 (CBR) = 192 queues (only the queue with QID = 400 corresponds with Traffic Class 1). In Figure 4-3 the first queue starts with QID = 400 and not with QID = 380 because this makes it easier to recognize the number of queues belonging to Scheduler #96 (also, it shows that the assignment is arbitrary within the given borders (only 1023 queues = QID 1..1023 per ABM Core exist)). The restriction of 1023 queues maximum per ABM Core must be met. The example (Figure 4-3) fulfills this condition: a) Upstream ABM core: 192 queues ( 1023 queues!) are used b) Downstream ABM core: 380 queues ( 1023 queues!) are used Data Sheet 4-54 09.99 PXB 4330 Operational Description ABM 6Mbps #1 Queue Traffic Class 1 2 3 4 : 5 6 7 8 : 189 190 191 192 193 194 195 196 : 377 378 379 380 400 401 402 : 591 CBR GFR GFR UBR : CBR GFR GFR UBR : CBR GFR GFR UBR CBR GFR GFR UBR : CBR GFR GFR UBR CBR UBR GFR : GFR 6Mbps #2 upstream ABM Core : 6Mbps #48 6Mbps #49 : 6Mbps #95 downstream ABM Core 34Mbps #96 The total rate of all Schedulers shouldn't exceed 622 Mbit/s (payload rate) QID = 0 is reserved for the queue for the common real time bypass ! Figure 4-3 ABM Configuration Example: DSLAM 4.6 Normal Operation In normal operation, no microprocessor interaction is necessary as the ABM chip does all queuing and scheduling automatically. For maintenance purposes, periodically the microprocessor could read out the counters for buffer overflow events. Some overflow events may also be programmed as interrupts. The only instance of permanent microprocessor interaction is operation of the dynamic bandwidth allocation protocol. In this case, the microprocessor must permanently check the two fill thresholds of the upstream Schedulers and adjust their output rates accordingly. In case of static bandwidth allocation, all rate adjustments are made only at connection setup or teardown. Data Sheet 4-55 09.99 PXB 4330 Operational Description 4.7 Bandwidth Reservation Due to the WFQ Scheduler concept of the ABM, the Connection Acceptance Check (CAC) is very simple: * Check if the Guaranteed Rate of the connection fits within the spare bandwidth of the Scheduler. For the definition of the Guaranteed Rate, see Table 3-1. Mathematically, the CAC can be reduced to the following formulas: For all connections, verify that the Scheduler is not overbooked: Sum of Guaranteed Rates Scheduler output rate (1) For real-time connections, (CBR, VBR-rt) in equation (1) is the only condition required. For non-real-time connections or connections using the WFQ Multiplexer, additional conditions must be fulfilled. VBR, ABR and UBR+ connections must be setup in per-VC queuing configurations, that is, an empty queue must be found for the connection. The Guaranteed Rate determines the weight of the queue: GRmin 14 ni = INT -------------------- x 2 GR with * ni {1, 2, 3, ...15360} is the WFQ factor for the connection i (1/ni is the weight factor Wi) GRmin the defined constant defining the minimum rate to be guaranteed (2) Note: ni with a maximum value of 15360 due to hardware limitations. Note: In addition to the hardware related tasks, a key system constant must be predefined: the minimum Guaranteed Rate GRmin. This parameter provides an absolute value to the relative weight factors of the WFQ Multiplexers. It is usually identical for all Schedulers in a system, as the Guaranteed Rate is related to the service classes - and these are identical for all users, independent of where they are connected to a network. * INT(x) the integer part of x. The integer function in equation (2) selects the next smaller value of the integer n, that is to say, the weight factor is higher than required and, thus, the queue is served slightly faster in order to guarantee the rate. For UBR connections without any rate guarantee, the following procedure is appropriate for the WFQ Multiplexer: * Reserve one queue per Scheduler for all UBR connections Data Sheet 4-56 09.99 PXB 4330 Operational Description * Assign minimum weight factor to this queue * Take the bandwidth of the queue into account using formulas (1) and (2) as if for a non-real-time connection * Assign UBR connections to this queue without any further CAC Note: EPD/PPD functionality is offered by the ABM on a per-VC basis. Hence, these functions can be supported also for UBR connections sharing one queue. Note: In addition to the bandwidth reservation, buffer space must be assigned by the appropriate setting of thresholds. 4.7.1 Bandwidth Reservation Example As an example, an access network multiplexer is assumed with ADSL lines and an E3 uplink. CBR and UBR+ connections are supported. A minimum Guaranteed Rate of GRmin = 19.2 kbit/s is selected. This allows GR up to 314.57 Mbit/s with increasing granularity for higher values. This behavior is well suited to the Guaranteed Rates which are minimum or sustainable rates. The values for MCR and SCR will be well below 10 Mbit/s for public networks. In high speed LANs with high MCR and SCR values, a higher minimum rate could be selected. Additionally, it is assumed that three types of line interfaces (PHY) exist in the system: 34 Mbit/s for the uplink, ADSL rates of 8 Mbit/s downstream, and 0.6 Mbit/s upstream. For each PHY, a maximum possible weight factor 1/n exists: nmax = 9, nmax= 39, and nmax = 524, respectively. Two types of non-real-time connection are defined with Guaranteed Rates of 100 kbit/s and 20 kbit/s with the weight factors 1/n, n100 = 3146 and n20 = 15730, respectively. The 100 kbit/s connections would be used for the downstream direction, and the 20 kbit/s connections for the upstream direction. Table 4-1 provides the maximum number of connections possible on each PHY. Table 4-1 PHY 34 Mbit/s 8 Mbit/s 0.6 Mbit/s Number of Possible Connections per PHY GR = 100 kbit/s GR = 20 kbit/s 349 80 6 1747 403 30 Data Sheet 4-57 09.99 PXB 4330 Operational Description For example, if the maximum number of connections for each Subscriber is fixed (such as 5 data connections), the queues can be pre-configured for each Subscriber so that only the LCI assignment must be changed when a connection is setup or released. 4.8 Programming of the Peak Rate Limiter / PCR Shaper For each queue, an optional peak rate shaper can be programmed. The possible peak rate values can be determined with: r= with * m {1, 2, 3, ...63488} the rate factor * rmin depending on the total throughput, i.e. the clock frequency: SYSCLK rmin = ------------------------ [cells/s] 19 2 (4) rmin ------------- x 2 16 m [cells/s] (3) 4.9 Scheduler Output Rate Calculation Example The parameters of the Schedulers must be chosen in relation to the transmission rates of the PHYs, respectively. That means for a Scheduler which transmits in the upstream direction such as 150 Mbit/s output rate and for a Scheduler which transmits in the downstream direction such as 6 Mbit/s output rate for a ADSL device (as depicted in Figure 4-2). Within the ABM, the Scheduler output rate is represented by the two parameters: IntRate(14:0), page 73 and FracRate(7:0), page 70. These parameters are without dimension and thus only indirectly represent the output rate. The following part declares how to derive the two parameters by a time parameter T and the correlation between these parameters and the output rate R: SYSCLK T = ----------------------------------- [without dimension] -1 32 cells x R with * ABM core clock SYSCLK = [1/s] * Scheduler output rate R = [cells/s] IntRate = with * int(T) is integer part of T FracRate = { T - int ( T ) } x 256 + 1 (7) int ( T ) (6) (5) Data Sheet 4-58 09.99 PXB 4330 Operational Description Example: Chosen values: R0 = 347000 cells/s (150 Mbit/s), SYSCLK = 50 MHz with (5) 50 x 10 T 0 = -------------------------------- = 4.50288... 32 x 347000 thus with (6) and (7) IntRate = 4 and FracRate = 130 (rounded up) Because of rounding the FracRate value, the effective scheduler rate R needs to be calculated by solving equation (7) to T and equation (5) to R: 130 - 1 T = ------------------ + IntRate [ T 0 ] = 4.5039... 256 and 50 x 10 -1 -1 R = ------------------------------------cells = 346921cells 32 x 4.5039... 6 6 Data Sheet 4-59 09.99 PXB 4330 Operational Description 4.10 Empty Cell Rate Calculation Example The internal SDRAM refresh generator uses empty cell cycles to perform its refresh cycles. Thus the refresh function is closely related to the scheduler output rate configuration. The empty cell rate generator guarantees a minimum number of empty cell cycles required for refresh cycles. A maximum value for parameter T can be derived by the following term: SYSCLK x RefreshPeriod T max = ------------------------------------------------------------------------32 x RefreshCycles with: * ABM core clock SYSCLK = [1/s] * SDRAM RefreshPeriod = [s] * SDRAM RefreshCycles requirement The empty cell rate parameter definition for fractional and integer parts of T is according to equations (5) and (6). Example: Given values: RefreshPeriod = 64ms, RefreshCycles = 4096, SYSCLK = 50 MHz Tmax = 24.414 Thus the value of T that is represented by programmed device parameters IntRate and FracRate according to equations (6) and (7), must be less or equal to Tmax to guarantee sufficient refresh cycles according to the SDRAM specification. In case of additional bandwidth needs to be reserved (e.g. for multicast operation in subsequent devices), a second maximum condition for parameter T can be derived depending on the empty cell rate required for multicast bandwidth reservation. In this case the value of T must conform the following equation: (8) T = Min {T equation ( 5 ), T MCreservation ,T max} (9) 4.11 4.11.1 Traffic Classes CBR Connections These connections should use the real-time bypass of the respective Scheduler. However, if two priority levels for real-time connections must be offered, a slightly lower realtime performance can be achieved by using the WFQ Multiplexer with maximum weight. Data Sheet 4-60 09.99 PXB 4330 Operational Description In this case, the bandwidth must fit into the WFQ Multiplexer (conditions (1) and (2) in "Bandwidth Reservation" on page 4-56). 4.11.2 VBR-rt Connections These connections can be treated like CBR connections with a guaranteed cell rate less than or equal to the Peak Cell Rate (PCR). Depending on the behavior of the sources, a statistical benefit could be obtained by reserving less than PCR. As an example, assume 1000 connections with compressed voice are multiplexed on a link. PCR is 32 kbit/s, but on average only 16 kbit/s. SCR is 8 kbit/s. Hence, instead of reserving 32 Mbit/s for the ensemble of connections, only 16 Mbit/s must be reserved. The large number of connections guarantees that the mean sum rate of 16 Mbit/s is never exceeded. 4.11.3 VBR-nrt Connections For these connections, the three parameters PCR, SCR, and MBS are given. One queue is reserved for each VBR-nrt connection with SCR programmed as the weight of the respective Scheduler queue. The maximum queue size is set to MBS plus ~100 cells for cell level bursts. If the buffer space reserved for VBR-nrt connections is set to the sum of all MBS, it is guaranteed that no cell is lost. However, with a large number of VBR-nrt connections, the total reserved buffer can be smaller with a negligible number of cell losses. For the PCR, no adjustment is necessary as the rates of the queues of a Scheduler always adjust automatically to the maximum possible values. As an option for network endpoints, the PCR may be shaped. The output rate of each queue may be limited individually to a programmable value which results in PCR shaping. This could be useful at points where a connection leaves one network and enters the next network which might police the connection (NPC function). 4.11.4 ABR Connections ABR connections must be setup in per-VC queuing configuration. The queue is assigned a weight guaranteeing the MCR of the connection. A backward direction connection must be setup. In Bi-directional Mode, the same queue ID must be chosen in order to make the ABR functions work properly. In Uni-directional Mode, the queue ID value with the toggled LSB must be setup for the backward direction. EFCI marking in forward data cells or CI/NI marking in backward RM cells can be enabled per traffic class. Note: Also the LCI is toggled in the Uni-directional Mode (see "LCI Translation in MiniSwitch Configurations" on page 1-27). Data Sheet 4-61 09.99 PXB 4330 Operational Description 4.11.5 UBR+ Connections UBR+ connections are UBR connections with MCR. They must be setup in individual queues with the weight factor guaranteeing the MCR. To enhance the overall throughput, the EPD/PPD function is enabled. 4.11.6 GFR Connections GFR Connections are setup like UBR+ connections with a Guaranteed Rate in individual queues, with the weight factor guaranteeing the rate for the high-priority packets. The threshold for the discard for low-priority packets must be set accordingly. 4.11.7 UBR Connections As described in "Bandwidth Reservation" on page 4-56, one queue per Scheduler is reserved for UBR connections with the smallest weight assigned. All UBR connections share this queue. EPD/PPD can be enabled as the relevant parameters are stored per connection (LCI table). Data Sheet 4-62 09.99 PXB 4330 Interface Descriptions 5 5.1 Interface Descriptions UTOPIA Interfaces The ABM has one UTOPIA Receive Interface and one UTOPIA Transmit Interface with Master capability at the PHY side and one Receive Interface and one Transmit Interface with Slave capability at the ATM side (Figure 5-1). The interfaces are compliant with the UTOPIA Level 1 and 2 Specification [1, 2] including: * * * * Bus width is selectable as either 8 bit or 16 bit Frequency ranges from 19... 52 MHz Single-PHY or multi-PHY configurations are supported PHY number enhancement option of UTOPIA Level 2 Appendix 1 is supported. RXDATU(15:0) RXSOCU RXPRTYU master slave TXDATU(15:0) TXSOCU TXPRTYU TXCLAVU(3:0) TXENBU(3:0) TXADRU(3:0) RXCLAVU(3:0) RXENBU(3:0) RXADRU(3:0) PHY Side UTPHYCLK TXDATD(15:0) TXSOCD 3;% ( $%0 UTATMCLK RXDATD(15:0) RXSOCD ATM Side master slave TXPRTYD TXCLAVD(3:0) TXENBD(3:0) TXADRD(3:0) RXPRTYD RXCLAVD(3:0) RXENBD(3:0) RXADRD(3:0) Figure 5-1 UTOPIA Interfaces The UTOPIA Receive and transmit Interfaces from the ATM and PHY sides operate from one clock which may be completely independent from the main chip clock SYSCLK. The UTOPIA clock frequency must be less than or equal to the main chip clock SYSCLK. The UTOPIA Interface has both 8-bit and 16-bit options. The 16-bit option features the 54-octet cell format for the standardized format, shown in Table 5-1, or the proprietary format, shown in Table 5-2. The 8-bit format has 53 octets without the UDF2 octet. The Data Sheet 5-63 09.99 PXB 4330 Interface Descriptions ATM side and PHY side UTOPIA Interfaces can be configured independently in either the 8-bit or the 16-bit mode. Note: Octet UDF2 is internally used for BIP8 supervision. Table 5-1 bit: 0 1 2 3 4 : 26 word Standardized UTOPIA Cell Format (16-bit) 14 13 12 11 10 9 8 VPI(11:0) VCI(11:0) 7 6 5 4 3 2 1 0 VCI(15:12) PT(2:0) CLP 15 UDF1 Payload Octet 1 Payload Octet 3 : Payload Octet 47 UDF2 Payload Octet 2 Payload Octet 4 : Payload Octet 48 Note: All Fields According to Standards, Unused Octets Shaded Table 5-2 Proprietary UTOPIA Cell Format (16-bit) 7 6 5 4 3 2 1 0 VCI(15:12) PT(2:0) CLP bit: 15 14 13 12 11 10 9 8 0 LCI(11:0) 1 VCI(11:0) 2 /&, HK(2:0) PN(2:0) 3 Payload Octet 1 4 Payload Octet 3 : : 26 Payload Octet 47 word UDF2 Payload Octet 2 Payload Octet 4 : Payload Octet 48 Note: PN(2:0) = Port number for PXB 4220 IWE8 (don't care for ABM) HK(2:0) = Housekeeping bits (for Internal Continuity Check (ICC) only) LCI(13:0) = Local Connection Identifier all other fields according to standards. 5.1.1 UTOPIA Multi-PHY Support To support multi-PHY configurations with or without use of the UTOPIA PHY address, the Infineon ATM switching chip set supports the Appendix 1 option of the UTOPIA Level 2 Standard [2]. It allows the simultaneous polling of up to four groups of PHYs by using four CLAVx/ENBx signal pairs (x=0..3). Data Sheet 5-64 09.99 PXB 4330 Interface Descriptions During the transfer of a cell, the Master UTOPIA Interface polls 12 PHY addresses. The 27 clock cycles time for the transfer of a cell in 16-bit UTOPIA format allows polling of 12 PHY addresses and selection of one of them for the next cell transfer. The Receive and Transmit UTOPIA Interfaces always poll separately. To allow support of more than 12 PHYs, four pairs of CLAVx/ENBx lines are provided in all Infineon ATM switching chips with UTOPIA Interfaces. However, although 48 PHYs could be polled by this configuration, up to 24 PHYs only are supported. Note: The number of line interfaces (PHYs) to be supported by an ATM Layer chip basically depends on the number of its UTOPIA queues. The term 'PHY device', however, denotes 'PHY chips'" which may contain more than one PHY. For electrical load considerations, the number of PHY devices is important, as the standard requires that for a 25 MHz clock, a minimum of eight PHY devices must be driven; for a 50 MHz minimum, four PHY devices must be driven. Data Sheet 5-65 09.99 PXB 4330 Interface Descriptions 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s 25.6 Mbit/s slave PHY device 0 Adr 0..5 slave PHY device 1 Adr 0..5 RxEnb0 RxCLAV0 RxEnb1 RxCLAV1 RxEnb2 PHY device 2 Adr 0..5 RxCLAV2 RxEnb3 UTOPIA Interface of ATM layer device e.g. PXB 4350 E ALP PXB 4340 E AOP PXB 4330 E ABM PXB 4325 E ASP PHY device 3 Adr 0..5 RxCLAV3 RxAdr(3:0) RxBUS(17:0) UTCLK RxBUS(17:0) = RxSOC : RxPrty : RxDat(15:0) UTCLK Figure 5-2 Upstream Receive UTOPIA Example: 4 x 6 PHYs The four CLAVx/ENBx lines are connected one-to-one to different PHY devices, as shown in the example of Figure 5-2 for the upstream receive side of an ATM Layer chip connected to four PHY devices, each containing six PHYs of 25.6 Mbit/s. In this example, 24 PHYs, the maximum number, are connected. In the example of Figure 5-2, the ABM gets four CLAVx signals with each polled address. All PHY devices have the addresses 0..5 assigned to their PHYs. The upper six addresses (6..11) always deliver CLAVx = 0 when polled. To distinguish the PHYs, the UTOPIA Interface of the ABM chip adds offset numbers 6, 12, and 18, to the PHY numbers from PHY Devices 1, 2, and 3, respectively. Then within the ATM Layer device, the PHY numbers range from 0..23 without ambiguity. Data Sheet 5-66 09.99 PXB 4330 Interface Descriptions Two other multi-PHY modes with UTOPIA addresses are selectable. One additional mode is provided to connect Level 1 PHY chips without address inputs. All modes are summarized in Table 5-3. Table 5-3 UTOPIA Polling Modes Mode 2 x 12 ENB0 / CLAV0 ENB1 / CLAV1 ENB2 / CLAV2 ENB3 / CLAV3 0 12 Mode 3 x 8 0 8 Mode 4 x 6 0 6 12 Level 1 Mode 0 0 0 0 do not connect 16 do not connect do not connect 18 Note: The numbers 0, 6, 8, 12, 16 and 18, indicate the Offset added to the PHY number. * In Level 1 Mode, the PHY numbers are identical to the CLAV/ENB group: 0, 1, 2, 3. * The user must program the PHY numbers in such a way as to avoid ambiguous PHY numbers inside the ATM Layer device. * Mode selection can be done independently for the PHY side and the ATM side UTOPIA interfaces. * If 12 PHYs or fewer are to be polled, Mode 2 x 12 should be used with only the CLAV0/ ENB0 pair connected. This minimizes the interconnection lines between the chips. * The enabling of the PHYs is done with a 24-bit bitmap for each UTOPIA Interface. Polling at the Master Interface always extends over the 4 CLAV/ENB pairs and over all 12 addresses. After conversion to the internal PHY number, the ports not enabled are masked out and one of the available PHYs is selected in a fair way. Examples: 1. One PHY device, such as 622 Mbit/s PHY: 16-bit bus width, address lines unconnected, RxCLAV0/RxEN0 and TxCLAV0/TxEN0 signal pairs connected, all other CLAVx/ENBx pairs unconnected. 2. Four PHY devices, 155.52 Mbit/s PHYs: 16-bit bus width, address lines unconnected, all four CLAVx/ENBx pairs connected, one to each PHY device. 3. Four PHY devices of 6-fold 25.6 Mbit/s PHYs: 16-bit bus width, address and all four CLAVx/ENBx pairs connected, one to each PHY device (see Figure 5-2). 4. Three PXB 4220 IWE8s: 8-bit bus width, address bus unconnected, three CLAVx/ENBx pairs connected, one to each IWE8 (this mode requires the PXB 4350 E ALP). Data Sheet 5-67 09.99 PXB 4330 Interface Descriptions 5.2 RAM Interfaces The ABM chip uses external, synchronous, dynamic RAM (SDRAM) for the storage of ATM cells and external, synchronous, static RAM (SSRAM) for the storage of cell pointers. Two SDRAM Interfaces and one SSRAM Interface are provided. Each of the two SDRAM Interfaces is associated with one of the ABM Cores. The SSRAM Interface is shared by both ABM Cores. All RAM Interfaces are operated with the system clock of up to 52 MHz. The size of the SDRAMs is fixed to 32 Mbit per ABM Core; but, the size of the SSRAM depends on the required cell store size: Table 5-4 Upstream 64K cells 32K cells 16K cells 64K cells 32K cells 16K cells External RAMs SDRAM Size Upstream 32Mbit 32Mbit 32Mbit 32Mbit 32Mbit 32Mbit Downstream 32Mbit 32Mbit 32Mbit none none none SSRAM Size Common 128K x 16bit 128K x 16bit 128K x 16bit 64K x 16bit 32K x 16bit 16K x 16bit Downstream 64K cells 32K cells 16K cells 0 0 0 Cell Store Size The following pipelined SSRAM types are possible: 1. 2M RAM 128Kx16 bit, for example: Micron MT58LC128K18 Pipelined or Samsung KM718V789/L 2. 4M RAM 128Kx32/36 bit with only 16 data bits connected 3. 2M RAM 64Kx32 bit, for example, Toshiba TC55V2325 with only 16 data bits connected 4. 1M RAM 32Kx32 bit with only 16 data bits connected 5. 1M RAM 64Kx16 bit. For the SDRAM, the Infineon 16 M type HYB39S16160AT-12 [6], IBM0316169C-13, or equivalent are recommended. Devices faster than 13 ns (77 MHz) are usable as well. Figure 5-3 shows an example of the maximum SSRAM size with 2 Mbit devices. Data Sheet 5-68 09.99 PXB 4330 Interface Descriptions 5.2.1 SSRAM Interface CPDAT(15:0) CPDAT(15:0) DQ(15:0) CPADR(16:0) CPADSC CPWE CPOE SYSCLK CPADR(16:0) A(16:0) ADSC GW OE CLK +3.3V 200 WEH WEL BWE ADSP ADV CE2 CE2 BW1 BW2 MODE PXB 4330 E ABM +3.3V +3.3V 200 200 64K x 16bit SSRAM 200 GND ZZ SYSCLK Figure 5-3 SSRAM Interface Using 2 Mbit RAM Note: The clock cycle for all RAMs is supplied by SYSCLK. Data Sheet 5-69 09.99 PXB 4330 Interface Descriptions 5.2.2 SDRAM Interfaces The two cell storage SDRAM interfaces are completely separate, but have identical signal and configuration set. Two 16M SDRAM devices in 1Mx16 bit configuration must be connected to each interface. As an option for Uni-directional Mode, the downstream SDRAM can be omitted if only one ABM Core is used. The upstream SDRAM must be configured always, as otherwise no cell could be transmitted. Figure 5-4 shows the connection of the SDRAMs to the ABM. * RDATx(31:16) RDATx(15:0) RADRx(11) RADRx(10:0) RCSx RRASx DQ(15:0) DQ(15:0) A11/BS A(10:0) CS RAS CAS WE CLK +3.3V CKE 1) DQM LDQM GND UDQM PXB 4330 E ABM Note: x = U for upstream x = D for downstream RCASx RWEx SYSCLK SDRAM e.g. 2x HYB 39S16160AT-12 SYSCLK 1) Note: Please refer to vendor specific recommendations. Figure 5-4 SDRAM Interfaces Data Sheet 5-70 09.99 PXB 4330 Interface Descriptions 5.3 Microprocessor Interface The ABM has a 16-bit Microprocessor Interface for control and operation. The Interface can be configured for either Intel or Motorola Mode. Interconnection to an Intel processor is shown in Figure 5-5, with the 386EX embedded controller as an example. PXB 4330 E ABM MPDAT(15:0) MPADR(8:1) MPWR MPRD MPCS MPINT MPRDY MPMOD DATA(15:0) ADR(8:1) WR RD CS INT RDY GND Microprocessor e.g. 386 EX Figure 5-5 Microprocessor Interface: Intel Mode A typical configuration in Motorola Mode is shown in Figure 5-6. PXB 4330 E ABM MPDAT(15:0) MPADR(8:1) MPWR MPRD MPCS MPINT MPRDY MPMOD DATA(15:0) ADR(8:1) R/W DS CS INT RDY +3.3V Microprocessor e.g. Power Quicc Figure 5-6 Microprocessor Interface: Motorola Mode The Interface operates completely asynchronous to the system clock SYSCLK. Data Sheet 5-71 09.99 PXB 4330 Interface Descriptions 5.4 JTAG Interface This interface contains the boundary scan of all signal pins according to the Joint Test Action Group (JTAG) Standard [4]. It consists of the pins shown in Figure 5-7. TCK TMS TDI TRST OUTTRI UTTRI PXB 4330 E ABM TDO Figure 5-7 JTAG Interface In addition to the standard boundary scan pins, following pins are provided for board test: * OUTTRI: If this signal is low, all other signal pins of the ABM device are put into high impedance mode. * UTTRI: If this signal is low, all pins of the UTOPIA Interfaces are put into high impedance mode. Data Sheet 5-72 09.99 PXB 4330 Interface Descriptions 5.5 Clock Supply The ABM Core is operated with a main chip clock, SYSCLK, with a frequency between 25 MHz and 52 MHz, as shown in Figure 5-8. The UTOPIA Interfaces have different clocks: one for the PHY side interfaces (towards the PHY side in Figure 5-8), and one for the ATM side interfaces (towards the ATM side in Figure 5-8). Both UTOPIA clocks may be independent (asynchronous) to each other and also asynchronous to the System Clock. The only restriction is that their frequency must be less than or equal to the System Clock. J 2M SSDRAM common cell pointer 16M SDRAM 16M SDRAM upstream cell storage SYSCLK SYSCLK Utopia PHY-Clock SYSCLK Utopia ATM-Clock ALP AOP ABM ASP SYSCLK 16M SDRAM 16M SDRAM downstream cell storage Figure 5-8 Clock Concept A further asynchronous interface is the Microprocessor Interface. Its speed is limited to less or equal than SYSCLK/2. Note: The clock cycle for all RAMs is supplied by SYSCLK. Data Sheet 5-73 09.99 PXB 4330 Register Descriptions 6 Register Descriptions This chapter provides both an overview of the ATM Buffer Manager PXB 4330 Register Set and detailed register descriptions and Table Access descriptions. 6.1 Overview of the ABM Register Set Control and operation of the ABM chip can be done by directly configuring Status Registers or, to a large extent, by programming the internal tables. Access to these tables is not direct, but occurs via Transfer Registers and Transfer Commands. Any transfer must be prepared by writing appropriate values to the Transfer Registers. Bit positions named 'don't Write' must be masked by writing 1 to the corresponding bit positions in the Mask Register. This avoids overwriting these table bit positions with the Transfer Register contents, which would cause fatal malfunction. The specific table position which should be modified with the Transfer Register contents is selected via Register WAR. Transfer is started by writing the table address to Register MAR and also setting the 'Start' bit. The ABM device will reset the 'Start' bit after transfer completion. The ABM contains the following internal tables for configuration: * * * * * * LCI Table Traffic Class Table Queue Configuration Table Queue Parameter Table (consisting of 4 tables) Scheduler Block Occupancy Table Scheduler Rate Table (consisting of 4 tables) The Status Registers and Transfer Registers are described below in Table 6-1. This register overview table is organized by functional groups and, thus, not always in sequence to the offset addresses. Offset addresses are 16-bit word addresses. Addresses not listed in this table are either associated with Reserved Registers or are unused. Performing Write accesses to those addresses is not recommended in order to prevent malfunctions and to guarantee upwards compatibility to future versions of the device. Data Sheet 6-74 09.99 PXB 4330 Register Descriptions Table 6-1 Addr (hex) ABM Registers Overview Description Reset P value (hex) See pag e Register Cell Flow Test Registers 01/11 UCFTST/ DCFTST URCFG/ DRCFG UBOC DBOC UNRTOC DNRTOC UBMTH DBMTH UCIT DCIT UEC DEC UMAC DMAC UMIC DMIC LCI0 LCI1 TCT0 TCT1 Upstream/Downstream Cell Flow Test Registers Upstream/Downstream SDRAM Configuration Registers Upstream/Downstream Buffer Occupation Registers Upstream/Downstream Non-Real-Time Buffer Occupation Registers 0000 R/W 80 SDRAM Configuration Registers 02/12 0033 R/W 82 Buffer Occupation Counter Registers 20 21 22 23 24 25 26 27 2C 2D 28 29 2A 2B 30 31 32 33 0000 R 0000 R 0000 R 0000 R 82 82 83 83 Buffer Threshold Registers Upstream/Downstream Buffer Maximum Threshold Registers Upstream/Downstream ABR Congestion Indication Threshold Registers Upstream/Downstream EPD CLP1 Threshold Registers 0000 R/W 84 0000 R/W 84 0000 R/W 85 0000 R/W 85 0000 R/W 88 0000 R/W 88 0000 R 0000 R FFFF R FFFF R 86 86 87 87 Occupation Capture Registers Upstream/Downstream Maximum Occupation Capture Registers Upstream/Downstream Minimum Occupation Capture Registers LCI Table Transfer Registers LCI0, LCI1 LCI Transfer Register 0 LCI Transfer Register 1 TCT Transfer Register 0 TCT Transfer Register 1 6-75 0000 R/W 90 0000 R/W 92 0000 R/W 95 0000 R/W 98 09.99 Traffic Class Table Transfer Registers TCT0, TCT1 Data Sheet PXB 4330 Register Descriptions Table 6-1 Addr (hex) ABM Registers Overview (cont'd) Description Reset P value (hex) See pag e Register Queue Configuration Table Transfer Registers QCT0..3 34 35 36 37 38 39 QCT0 QCT1 QCT2 QCT3 SOT0 SOT1 Queue Configuration Transfer Register 0 0000 R/W 103 Queue Configuration Transfer Register 1 0000 R/W 104 Queue Configuration Transfer Register 2 0000 R/W 106 Queue Configuration Transfer Register 3 0000 R/W 106 SOT Transfer Register 0 SOT Transfer Register 1 0000 R/W 108 0000 R/W 110 Scheduler Occupancy Table Transfer Registers SOT0, SOT1 Mask Registers for Read/Write transfer access control of LCI-, Traffic Class-, Queue Configuration- and Scheduler Occupancy Tables 3B/3C MASK0/ MASK1 3D/3E MASK2/ MASK3 41 45 46 47 48 49 4A CONFIG LEVL0 LEVL1 LEVL2 LEVH0 LEVH1 LEVH2 Table Access Mask Registers 0/1 Table Access Mask Registers 2/3 0000 R/W 111 0000 R/W 112 ABR CI/NI Marking Registers Configuration Register Upstream Scheduler Lower Threshold Reached Indication Register 0 Upstream Scheduler Lower Threshold Reached Indication Register 1 Upstream Scheduler Lower Threshold Reached Indication Register 2 Upstream Scheduler High Threshold Reached Indication Register 0 Upstream Scheduler High Threshold Reached Indication Register 1 Upstream Scheduler High Threshold Reached Indication Register 2 0000 R/W 113 0000 R 0000 R 0000 R 0000 R 0000 R 0000 R 114 115 116 117 118 119 Upstream Scheduler Level/Threshold Exceed Detection Indication Registers Rate Shaper CDV Registers Data Sheet 6-76 09.99 PXB 4330 Register Descriptions Table 6-1 Addr (hex) 52 72 55 56 75 76 60/80 61/81 62/82 63/83 ABM Registers Overview (cont'd) Description Reset P value (hex) See pag e Register CDVU CDVD QMSKU0 QMSKU1 QMSKD0 QMSKD1 QPTLU0/ QPTLD0 QPTLU1/ QPTLD1 QPTHU0/ QPTHD0 QPTHU1/ QPTHD1 SADRU/ SADRD SCTIU/SCTID SMSKU/ SMSKD SCTFU/ SCTFD Upstream/Downstream Rate Shaper CDV Registers 0000 R/W 120 0000 R/W 120 0000 R/W 121 0000 R/W 121 0000 R/W 122 0000 R/W 122 0000 R/W 126 0000 R/W 127 0000 R/W 128 0000 R/W 129 Queue Parameter Table Mask Registers Upstream Queue Parameter Table Mask Registers 0/1 Downstream Queue Parameter Table Mask Registers 0/1 Queue Parameter Table Transfer Registers QPT Upstream/Downstream Low Word Transfer Register 0 QPT Upstream/Downstream Low Word Transfer Register 1 QPT Upstream/Downstream High Word Transfer Register 0 QPT Upstream/Downstream High Word Transfer Register 1 Upstream/Downstream SCTI Address Registers Upstream/Downstream SCTI Transfer Registers Upstream/Downstream SCTF Mask Registers Upstream/Downstream SCTF Transfer Registers Upstream/Downstream Scheduler Configuration Table Transfer/Mask Registers 90/B0 91/B1 95/B5 96/B6 0000 R/W 136 0000 R/W 137 0000 R/W 133 0000 R/W 131 SDRAM Refresh Registers 92/B2 93/B3 ECRIU/ECRID Upstream/Downstream Empty Cycle Rate Integer Part Registers ECRFU/ ECRFD Upstream/Downstream Empty Cycle Rate Fractional Part Registers 0000 R/W 140 0000 R/W 143 UTOPIA Port Select of Common Real Time Queue Registers Data Sheet 6-77 09.99 PXB 4330 Register Descriptions Table 6-1 Addr (hex) 94/B4 ABM Registers Overview (cont'd) Description Reset P value (hex) See pag e Register CRTQU/ CRTQD Upstream/Downstream Common Real Time Queue UTOPIA Port Select Registers Upstream/Downstream Scheduler Enable 0 Registers Upstream/Downstream Scheduler Enable 1 Registers Upstream/Downstream Scheduler Enable 2 Registers Interrupt Status Register Upstream Interrupt Status Register Downstream Interrupt Mask Register Upstream Interrupt Mask Register Downstream Memory Address Register Word Address Register Upstream UTOPIA Receive FIFO Fill Level Register ABM Mode Register UTOPIA Configuration Register 0 (PHY Side) UTOPIA Configuration Register 1 (PHY Side) UTOPIA Configuration Register 2 (PHY Side) UTOPIA Configuration Register 0 (ATM Side) 6-78 0000 R/W 145 Scheduler Enable Registers 98/B8 99/B9 SCEN0U/ SCEN0D SCEN1U/ SCEN1D 0000 R/W 146 0000 R/W 147 0000 R/W 148 9A/BA SCEN2U/ SCEN2D D0 D1 D2 D3 D7 D8 D9 ISRU ISRD IMRU IMRD MAR WAR UTRXFILL Interrupt Status/Mask Registers 0000 R/W 149 0000 R/W 152 0000 R/W 155 0000 R/W 156 0000 R/W 157 0000 R/W 159 0000 R 161 RAM Select Registers UTOPIA FIFO Fill Level Register ABM Mode Register DA DC DD DE DF MODE UTOPHY0 UTOPHY1 UTOPHY2 UTATM0 0000 R/W 162 0000 R/W 165 0000 R/W 166 0000 R/W 167 0000 R/W 168 UTOPIA Configuration Registers Data Sheet 09.99 PXB 4330 Register Descriptions Table 6-1 Addr (hex) E0 E1 ABM Registers Overview (cont'd) Description Reset P value (hex) See pag e Register UTATM1 UTATM2 UTOPIA Configuration Register 1 (ATM Side) UTOPIA Configuration Register 2 (ATM Side) Upstream/Downstream Cell Flow Test Registers TEST Register Reserved Register Reserved Register Reserved Register Reserved Register Reserved Register Reserved Register Reserved Register Reserved Register Reserved Register Reserved Register Version Number High Register Version Number Low Register 0000 R/W 169 0000 R/W 170 Test Registers/Special Mode Registers 01/11 F0 50 51 53 54 70 71 73 74 97 B7 F1 F2 UCFTST/ DCFTST TEST VERH VERL 0000 R/W 80 0000 R/W 171 0000 R/W 0000 R/W 0000 R/W 0000 R/W 0000 R/W 0000 R/W 0000 R/W 0000 R/W ------R R 172 172 ABM Version Code Registers 1003 R 9083 R Data Sheet 6-79 09.99 PXB 4330 Register Descriptions 6.2 Register 1 Detailed Register Description UCFTST/DCFTST Upstream/Downstream Cell Flow Test Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H UCFTST 01H DCFTST 11H Written by CPU to test internal integrity functions during special system test scenarios 14 13 12 11 10 9 8 Bit 15 Unused(15:8) Bit 7 6 5 4 3 2 1 0 Unused(7:2) * TSTBIP TSTQID TSTBIP Test BIP-8 Supervision (see "Cell Header Protection" on page 3-48) 0 Normal Operation: BIP-8 for cell protection is generated normally. No 'BIP8ER' interrupt should occur indicating a cell storage failure. Test Mode: Least Significant Bit (LSB) of BIP-8 is inverted to test BIP-8 checking function. An 'BIP8ER' (Register 46: ISRU, Register 47: ISRD) interrupt is generated whenever a cell is Read out of the Cell Buffer RAM. 1 Data Sheet 6-80 09.99 PXB 4330 Register Descriptions TSTQID Test Queue ID Supervision (see "Cell Queue Supervision" on page 3-48) 0 Normal Operation: A correct QID is generated. No 'BUFER5' interrupt should occur indicating an internal queue pointer failure. Test Mode: The LSB of the QID is inverted to test the QID checking function. A 'BUFER5' (Register 46: ISRU, Register 47: ISRD) interrupt is generated whenever a cell is Read out out the Cell Buffer RAM. 1 Note: The respective QID value is stored with each cell when written to the appropriate queue in the cell storage RAM. The ABM checks the stored QID value against the supposed QID when a cell is read back from the cell storage RAM. Data Sheet 6-81 09.99 PXB 4330 Register Descriptions Register 2 URCFG/DRCFG Upstream/Downstream SDRAM Configuration Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0033H URCFG (Reserved) 14 13 12 11 10 9 8 02H DRCFG 12H Reserved(15:8) Bit 7 6 5 4 3 2 1 0 Reserved(7:0) * Note: These registers are for internal use only. Do not to Write a value different from the Reset Value 0033H to Registers URCFG/DRCFG. * Register 3 UBOC/DBOC Upstream/Downstream Buffer Occupation Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read only 0000H UBOC Read by CPU 14 13 12 11 10 9 8 20H DBOC 21H UBOC/DBOC(15:8) Bit 7 6 5 4 3 2 1 0 UBOC/DBOC(7:0) Data Sheet 6-82 09.99 PXB 4330 Register Descriptions UBOC(15:0) DBOC(15:0) Upstream Buffer Occupation Counter Downstream Buffer Occupation Counter These 16-bit counter values reflect the number of cells currently stored in the dedicated cell storage RAM. Register 4 UNRTOC/DNRTOC Upstream/Downstream Non-Real-Time Buffer Occupation Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read only 0000H UNRTOC Read by CPU 14 13 12 11 10 9 8 22H DNRTOC 23H UNRTOC/DNRTOC(15:8) Bit 7 6 5 4 3 2 1 0 UNRTOC/DNRTOC(7:0) * UNRTOC(15:0) DNRTOC(15:0) Upstream Non-Real-Time Buffer Occupation Counter Downstream Non-Real-Time Buffer Occupation Counter These 16-bit counter values reflect the number of non-real-time cells currently stored in the dedicated cell storage RAM. Non-real-time cells belong to traffic classes with the real-time indication bit 'RTind' cleared in the traffic class table (Transfer Register TCT1). Data Sheet 6-83 09.99 PXB 4330 Register Descriptions Register 5 UBMTH/DBMTH Upstream/Downstream Buffer Maximum Threshold Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UBMTH 24H DBMTH 25H Written by CPU 14 13 12 11 10 9 8 UBMTH/DBMTH(15:8) Bit 7 6 5 4 3 2 1 0 UBMTH/DBMTH(7:0) UBMTH(15:0) DBMTH(15:0) Upstream Buffer Maximum Threshold Downstream Buffer Maximum Threshold These bit fields determine a threshold for the total upstream and downstream buffer size. The values depend on: * The size of the external cell pointer RAM, * Whether the downstream cell storage RAM is connected. See Table 6-2 for recommended values. Table 6-2 128 k x 16 bit 64 k x 16 bit 32 k x 16 bit 64 k x 16 bit 32 k x 16 bit 16 k x 16 bit UBMTH/DBMTH Threshold Values UBMTH FFFFH 7FFFH 3FFFH FFFFH 7FFFH 3FFFH DBMTH FFFFH 7FFFH 3FFFH 0000H 0000H 0000H 1 M x 32 bit 1 M x 32 bit 1 M x 32 bit none none none Cell Pointer RAM Downstream Cell RAM Note: An upstream cell storage RAM of size 1 M x 32 bit must be connected always. Data Sheet 6-84 09.99 PXB 4330 Register Descriptions Register 6 UCIT/DCIT Upstream/Downstream ABR Congestion Indication Threshold Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UCIT 26H DCIT 27H Written by CPU 14 13 12 11 10 9 8 UCIT/DCIT(15:8) Bit 7 6 5 4 3 2 1 0 UCIT/DCIT(7:0) UCIT(15:0) DCIT(15:0) Upstream ABR Congestion Indication Threshold Downstream ABR Congestion Indication Threshold These 16-bit counters determine a threshold for the total buffer fill level with non-real-time cells to indicate ABR Congestion. Congestion indication 'CI' will be marked in cells belonging to ABR traffic class if the number of stored non-real-time cells exceeds the threshold value. Data Sheet 6-85 09.99 PXB 4330 Register Descriptions Register 7 UMAC/DMAC Upstream/Downstream Maximum Occupation Capture Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read only, self-clearing on Read 0000H UMAC Read by CPU 14 13 12 11 10 9 8 28H DMAC 29H UMAC/DMAC(15:8) Bit 7 6 5 4 3 2 1 0 UMAC/DMAC(7:0) UMAC(15:0) DMAC(15:0) Upstream Maximum Occupation Capture Counter Downstream Maximum Occupation Capture Counter These 16-bit counters measure the absolute maximum number of cells stored in the respective external cell buffer since the last Read access (peak cell filling level within measurement interval). The counter value is automatically cleared to 0000H after Read. Data Sheet 6-86 09.99 PXB 4330 Register Descriptions Register 8 UMIC/DMIC Upstream/Downstream Minimum Occupation Capture Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read only, self-clearing on Read FFFFH (may be modified by chip logic immediately after reset) UMIC Read by CPU 14 13 12 11 10 9 8 2AH DMIC 2BH UMIC/DMIC(15:8) Bit 7 6 5 4 3 2 1 0 UMIC/DMIC(7:0) UMIC(15:0) DMIC(15:0) Upstream Minimum Occupation Capture Counter Downstream Minimum Occupation Capture Counter These 16-bit counters measure the absolute minimum number of cells stored in the respective external cell buffer since the last Read access (minimum cell filling level within measurement interval). The counter value is automatically cleared to FFFFH after Read. Note: The reset value may be modified by chip logic immediately after reset or clearing read. Data Sheet 6-87 09.99 PXB 4330 Register Descriptions Register 9 UEC/DEC Upstream/Downstream EPD CLP1 Threshold Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UEC 2CH DEC 2DH Written by CPU 14 13 12 11 10 9 8 UEC/DEC(15:8) Bit 7 6 5 4 3 2 1 0 UEC/DEC(7:0) UEC(15:0) DEC(15:0) Upstream EPD CLP1 Threshold value Downstream EPD CLP1 Threshold value These 16-bit values determine a global cell filling level threshold that triggers explicit packet discard (EPD) for CLP=1 tagged frames used by GFR traffic class service (low watermark). Data Sheet 6-88 09.99 PXB 4330 Register Descriptions Internal Table 1: LCI Table Transfer Registers LCI0, LCI1 These registers are used to access the internal Local Connection Identifier (LCI) table containing 8192 entries. Table 6-3 shows an overview of the registers involved. Table 6-3 31 LCI RAM entry 15 LCI1 15 MASK1 0 15 MASK0 0 15 LCI0 0 15 WAR (0..8191D) 0 15 MAR=00H LCI select: 0 Registers for LCI Table Access 0 RAM select: 0 LCI0 and LCI1 are the transfer registers for one 32-bit LCI table entry. The LCI value representing the table entry which needs to be Read or modified must be written to the Word Address Register (WAR). The dedicated LCI table entry is Read into the LCI1/LCI0 Registers or modified by the LCI1/LCI0 Register values with a Read-Modify-Write mechanism. The associated Mask Registers MASK0 and MASK1 allow a bit-by-bit selection between Read (1) and Write (0) operation. In case of Read operation, the dedicated LCI1/LCI0 register bit will be overwritten by the respective LCI table entry bit value. In case of Write operation, the dedicated LCI1/LCI0 register bit will modify the respective LCI table entry bit value. The Read-Modify-Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR select the memory/table that will be accessed; to select the LCI table bit field MAR(4:0) must be set to 0. Bit 5 of the MAR starts the transfer and is automatically cleared after execution of the Read-Modify-Write process. Table 6-4 Bit 15 WAR Register Mapping for LCI Table Access 14 Unused(2:0) Bit 7 6 5 4 3 13 12 11 10 LCISel(12:8) 2 1 0 9 8 LCISel(7:0) * LCISel(12:0) Selects an LCI entry within the range (0..8191). Data Sheet 6-89 09.99 PXB 4330 Register Descriptions Register 10 LCI0 LCI Transfer Register 0 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Unused Bit 7 Read/Write 0000H LCI0 30H Written and Read by CPU to maintain the LCI table 14 CLPT 6 13 ABMcore 5 DnQID(4:0) CLPT 4 3 12 11 10 DnQID(9:5) 2 1 flags(2:0) 0 9 8 CLP Transparent: Specifies whether the CLP bit of cells is evaluated or not in threshold checks. Valid for both upstream and downstream cores. 0 1 CLP bit is evaluated. CLP bit is not evaluated; all cells are treated as high priority cells assuming CLP=0. ABMcore ABM Core Selection: This bit is valid in Uni-directional Mode only and specifies the core responsible for cells of this LCI. 0 1 Schedulers 0..47 are selected (core 0). Schedulers 48..95 are selected (core 1). DnQID(9:0) Downstream Queue Identifier. Specifies the queue in which the cells of the connection are stored. Last cell of packet flag for downstream direction; This bit is autonomously used by the EPD function of the ABM. Initialize to 1 at connection setup. Do not Write during normal operation. 6-90 09.99 flag 2 Data Sheet PXB 4330 Register Descriptions flag 1 Discard packet flag in downstream direction; This bit is autonomously used by the EPD function of the ABM. Initialize to 0 at connection setup. Do not Write during normal operation. Discard rest of packet flag in downstream direction; This bit is autonomously used by the EPD function of the ABM. Initialize to 0 at connection setup. Do not Write during normal operation. flag 0 Data Sheet 6-91 09.99 PXB 4330 Register Descriptions Register 11 LCI1 LCI Transfer Register 1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H LCI1 31H Written and Read by CPU to maintain the LCI table 14 Unused(2:0) Bit 7 6 5 UpQID(4:0) UpQID(9:0) 4 3 13 12 11 10 UpQID(9:5) 2 1 flags(2:0) 0 9 8 Upstream Queue Identifier. Specifies the queue in which the cells of the connection are stored. Last cell of packet flag for upstream direction; This bit is autonomously used by the EPD function of the ABM. Initialize to 1 at connection setup. Do not Write during normal operation. Discard packet flag in upstream direction; This bit is autonomously used by the EPD function of the ABM. Initialize to 0 at connection setup. Do not Write during normal operation. Discard rest of packet flag in upstream direction; This bit is autonomously used by the EPD function of the ABM. Initialize to 0 at connection setup. Do not Write during normal operation. flag 2 flag 1 flag 0 Data Sheet 6-92 09.99 PXB 4330 Register Descriptions Internal Table 2: Traffic Class Table Transfer Registers TCT0, TCT1 The Traffic Class Table Transfer Registers are used to access the internal Traffic Class Table (TCT) containing 2*16 entries of 128 bits each (16 traffic classes per ABM core). Table 6-5 shows an overview of the registers involved. Table 6-5 31 TCT RAM entry 15 TCT1 15 MASK1 0 15 MASK0 0 15 TCT0 0 15 WAR (0..127D) 0 15 MAR=01H TCT entry select: 0 Registers for TCT Table Access 0 RAM select: 0 TCT0 and TCT1 are the transfer registers used to access the 128 bit TCT table entries. Core selection, traffic class number, and 32-bit word selection of the table entry which needs to be Read or Modified must be programmed to the Word Address Register (WAR). The dedicated TCT table entry 32-bit word is Read into the TCT1/TCT0 registers or Modified by the TCT1/TCT0 register values with a Read-Modify-Write mechanism. The associated Mask Registers MASK0 and MASK1 allow a bit-by-bit selection between Read (1) and Write (0) operations. In case of Read operation, the dedicated TCT1/TCT0 register bit will be overwritten by the respective TCT table entry bit value. In case of Write operation, the dedicated TCT1/TCT0 register bit will modify the respective TCT table entry bit value. The Read-Modify-Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR select the memory/table that will be accessed; to select the TCT table bit field MAR(4:0) must be set to 1. Bit 5 of MAR starts the transfer and is automatically cleared after execution of the Read-Modify-Write process. Table 6-6 Bit 15 WAR Register Mapping for TCT Table Access 14 13 12 11 10 9 8 Unused(7:0) Bit 7 6 5 4 3 2 1 0 Unused CoreSel TrafClass(3:0) DwordSel(1:0) Data Sheet 6-93 09.99 PXB 4330 Register Descriptions CoreSel Selects the ABM core for TCT table access: 0 1 Upstream core selected (core 0) Downstream core selected (core 1) TrafClass(3:0) Selects The Traffic Class for the TCT table access in the range (0..15). Selects The 32-Bit Word of the 128-bit TCT table entry for access: 00 01 10 11 Bit field (31..0) of traffic class entry is selected. Bit field (63..32) of traffic class entry is selected. Bit field (95..64) of traffic class entry is selected. Bit field (127..96) of traffic class entry is selected. DwordSel(1:0) The meaning of registers TCT0 and TCT1 depends on the dword selection bit field 'DwordSel(1:0)' in the WAR, because 128-bit TCT entries are mapped to 32 bits of registers TCT0/TCT1 by this selection: WAR modulo 4 31 24 23 16 15 8 7 0 DiscardedCells(15:0)1) 3 2 0 Accepted/Transmitted Packets(15:0)1) 2827262524 TCT1(15:0) 1) LostCells LostCells DiscardedPackets/ TrafClass Scheduler CLP1Cells(7:0)1) (3:0)1) (3:0)1) TrafClassOcc(15:0) BufNrtMax(7:0) BufNrtEPD(7:0) 1 TrafClassMax(7:0) SbMaxEpdCi(7:0) QueueMaxEPD(7:0) QueueCiCLP1(7:0) TCT0(15:0) All 5 statistical counters stop at maximum value. Automatically reset after Read access, that is, it is not necessary to Write them to 0. Data Sheet 6-94 09.99 PXB 4330 Register Descriptions * Register 12 TCT0 TCT Transfer Register 0 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H TCT0 32H Written and Read by CPU to maintain the TCT table; the meaning of register TCT0 depends on the bit-field 'DWordSel' in WAR; Register WAR.DwordSel(1:0) = '00': Bit 15 14 13 12 11 10 9 8 BufNrtMax(7:0) Bit 7 6 5 4 3 2 1 0 BufNrtEPD(7:0) BufNrtMax(7:0) Maximum Buffer Fill Threshold for a non-real-time traffic class configuration (register TCT1, DwordSel=00, RTind=0). The first cell exceeding this threshold is discarded and if also PPD is enabled for this traffic class (register TCT1, DwordSel=00, PPDen=1) PPD is applied on a per connection (LCI) basis. The threshold is defined with a granularity of 256 cells: Threshold = BufNrtMax(7:0) * 256 Cells EPD threshold for a non-real-time traffic class configuration (register TCT1, DwordSel='00', RTind=0). If the buffer fill exceeds this threshold and EPD is enabled for this traffic class (register TCT1, DwordSel=00, EPDen=1) EPD is applied on a per connection (LCI) basis. The threshold is defined with a granularity of 256 cells: Threshold = BufNrtEPD(7:0) * 256 Cells BufNrtEPD(7:0) Data Sheet 6-95 09.99 PXB 4330 Register Descriptions Register WAR.DwordSel(1:0) = '01': Bit 15 14 13 12 11 10 9 8 QueueMaxEPD(7:0) Bit 7 6 5 4 3 2 1 0 QueueCiCLP1(7:0) QueueMax EPD(7:0) Combined Threshold for each Queue of this Traffic Class for the following cases: a) if EPDen=1 EPD queue threshold on a connection (LCI) basis for CLP=0/1 frames (frames with CLP=0 or 01 are discarded) b) if EPDen=0 Maximum queue fill threshold for CLP=0/1 cells (cells with CLP=0 or 1 are discarded as the maximum queue fill for CLP=0/1 cells was exceeded) The threshold is defined with a granularity of 64: Threshold = QueueMaxEPD(7:0) * 64 Cells (This is the high watermark of GFR) Combined Queue Threshold of this Traffic Class for the following cases: a) if ABRen=1 for the traffic class ABR Congestion Indication CI/EFCI is triggered b) if CLPT=0 (CLP transparent bit is not true) and EPDen=0 CLP1 queue threshold for CLP=1 cells (cells with CLP=1 are discarded) c) if CLPT=0 and EPDen=1 EPD GFR queue threshold. If that threshold and additionally BufNrtEPD (of the respective traffic class) is exceeded then EPD is triggered. The threshold is defined with a granularity of 4: Threshold = QueueCiCLP1(7:0) * 4 Cells QueueCiCLP1 (7:0) * Data Sheet 6-96 09.99 PXB 4330 Register Descriptions Register WAR.DwordSel(1:0) = '10': Bit 15 14 13 12 11 10 9 8 TrafClassOcc(15:8) Bit 7 6 5 4 3 2 1 0 TrafClassOcc(7:0) TrafClassOcc (15:0) Current Buffer Occupation in number of cells for this traffic class. Do not Write in normal operation. Register WAR.DwordSel(1:0) = '11': Bit 15 14 13 12 11 10 9 8 LostCellsTrafClass(3:0) Bit 7 6 5 4 3 LostCellsScheduler(3:0) 2 1 0 DiscardedPackets/CLP1Cells(7:0) LostCellsTraf Class(3:0) LostCells Scheduler(3:0) Count of Lost Cells due to Buffer Overflow for this traffic class. Automatically reset after Read access. Count of Lost Cells due to Scheduler Overflow for this traffic class. Automatically reset after Read access. Count of Lost Packets due to EPD Overflow for this traffic class or count of lost CLP=1 cells due to CLP threshold overflow. Automatically reset after Read access. Discarded Packets/ CLP1Cells(7:0) Data Sheet 6-97 09.99 PXB 4330 Register Descriptions Register 13 TCT1 TCT Transfer Register 1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H TCT1 33H Written and Read by CPU to maintain the TCT table; the meaning of register TCT1 depends on the bit-field 'DWordSel' in WAR; Register WAR.DwordSel(1:0) = '00': Bit 15 14 Unused(10:8) Bit 7 6 5 13 12 RTind 4 11 ABRen 3 10 ABRvp 2 9 EPDen 1 8 PPDen 0 Unused(7:0) RTind Real-time or Non-Real-time Indicator for the traffic class connections: 0 1 ABRen Traffic class consists of non-real-time connections. Traffic class consists of real-time connections. Congestion indication in user cells (EFCI marking) within every ABR connection (LCI) that belongs to the individual traffic class: 0 1 Congestion indication disabled. Congestion indication enabled. Data Sheet 6-98 09.99 PXB 4330 Register Descriptions ABRvp Indication for update of RM cells (ABR service category) relating to the VP or to the individual VC, respectively: 0 1 Congestion is indicated via VC RM cells (F5 flow). VC RM cells are identified with PTI=110 and VCI <> 6. Congestion is indicated via VP RM cells (F4 flow). VP RM cells are identified with VCI=6 (regardless of the value of the PTI field) Note: According to the standards, VP RM cells MUST have VCI=6 and PTI=110. If cells with PTI=110 and VCI <> 6 are contained in the cell stream they are ignored. This is the correct behavior for an ABR VC within an ABR VP. EPDen EPD for the individual traffic class. EPD is used for every connection (LCI) within that traffic class: 0 1 PPDen EPD is disabled. EPD is enabled. PPD for the individual traffic class. PPD is used for every connection (LCI) within that traffic class: 0 1 PPD is disabled PPD is enabled * Data Sheet 6-99 09.99 PXB 4330 Register Descriptions Register WAR.DwordSel(1:0) = '01': Bit 15 14 13 12 11 10 9 8 TrafClassMax(7:0) Bit 7 6 5 4 3 2 1 0 SbMaxEpdCi(7:0) TrafClassMax (7:0) Maximum Traffic Class Fill Threshold (determines the maximum number of cells in all queues associated with this traffic class). The threshold is defined with a granularity of 256: Threshold = TrafClassMax(7:0) * 256 Cells Combined Threshold of the Maximum Number of Buffered Cells in the Scheduler; that is, all cells which are in the traffic classes (= cells in the corresponding queues) of the Scheduler) for the following cases: a) If EPDen=0 and ABRen=0 Maximum Scheduler fill threshold for CLP='0/1' cells b) If EPDen=1 and ABRen=0 EPD Scheduler threshold c) If ABRen=1 CI Scheduler threshold for ABR connections (Set CI-Bit (Congestion Indication) in the RM cells) The threshold is defined with a granularity of 256: Threshold = SbMaxEpdCi(7:0) * 256 Cells SbMaxEpdCi (7:0) Data Sheet 6-100 09.99 PXB 4330 Register Descriptions Register WAR.DwordSel(1:0) = '10': Bit 15 14 13 12 11 10 9 8 Accepted/TransmittedPackets(15:8) Bit 7 6 5 4 3 2 1 0 Accepted/TransmittedPackets(7:0) Accepted/ Transmitted Packets(15:0) Count of Accepted AAL5 Units within this traffic class. This counter is incremented when a user data cell with AAL_ indication=1 is accepted (Packet end indication in AAL5: PTI= xx1). Do not Write in normal operation. Automatically reset after Read access. * Register WAR.DwordSel(1:0) = '11': Bit 15 14 13 12 11 10 9 8 DiscardedCells(15:8) Bit 7 6 5 4 3 2 1 0 DiscardedCells(7:0) DiscardedCells (15:0) Count of all discarded cells for this traffic class. Do not Write in normal operation. Automatically reset after Read access. Data Sheet 6-101 09.99 PXB 4330 Register Descriptions Internal Table 3: Queue Configuration Table Transfer Registers QCT0..3 Queue Configuration Table Transfer Registers are used to access the internal Queue Configuration Table (QCT) containing 2*1024 entries. The lower 1K entries control the upstream core queues and the upper 1K entries control the downstream core queues. Table 6-7 shows an overview of the registers involved. Table 6-7 63 QCT RAM entry 15 QCT3 15 MASK3 =FFFFH 0 15 MASK2 =FFFFH 0 15 QCT2 0 15 MASK1 0 15 QCT1 0 15 MASK0 =FFFFH 0 15 QCT0 0 15 WAR (0..2047D) 0 15 MAR=02H Queue select: 0 Registers for Queue Configuration Table Access 0 RAM select: 0 QCT0...QCT3 are the transfer registers for one 64 bit QCT table entry. The core selection and queue number representing the table entry which needs to be Read or modified must be written to the Word Address Register (WAR). The dedicated QCT table entry is Read into the QCT0..QCT3 registers or modified by the QCT0..QCT3 register values with a Read-Modify-Write mechanism. The associated Mask Registers MASK0..MASK3 allow a bit-by-bit selection between Read (1) and Write (0) operation. In case of Read operation, the dedicated QCT0..QCT3 register bit will be overwritten by the respective QCT table entry bit value. In case of Write operation, the dedicated QCT0..QCT3 register bit will modify the respective QCT table entry bit value. Note: It is recommended not to Write to bit fields (64:32) and (15:0) of the QCT table entries; that is, registers MASK0, MASK2 and MASK3 should always be programmed with FFFFH. The 10 LSBs (= Bit 9..0) of the WAR register select the queue-specific entry that will be accessed and bit 'CoreSel' of the ABM core. The Read-Modify-Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR select the memory/table that will be accessed; to select the QCT table, bit field MAR(4:0) must be set to 2. Bit 5 of MAR starts the transfer and is automatically cleared after execution of the Read-Modify-Write process. Data Sheet 6-102 09.99 PXB 4330 Register Descriptions Table 6-8 Bit 15 WAR Register Mapping for LCI Table Access 14 13 Unused(4:0) Bit 7 6 5 4 3 12 11 10 CoreSel 2 9 8 QSel(9:8) 1 0 QSel(7:0) CoreSel Selects an ABM Core: 0 1 Upstream core selected Downstream core selected QSel(9:0) Selects a Queue Entry within the range (0..1023). Register 14 QCT0 Queue Configuration Transfer Register 0 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Unused(1:0) Bit 7 6 5 4 Read/Write 0000H QCT0 34H Read by CPU to maintain the QCT table 14 13 12 11 10 9 8 QueueLength(13:8) 3 2 1 0 QueueLength(7:0) QueueLength (13:0) Represents the Current Number of Cells Stored in this Queue. Do not Write in normal operation. Data Sheet 6-103 09.99 PXB 4330 Register Descriptions Register 15 QCT1 Queue Configuration Transfer Register 1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H QCT1 35H Written and Read by CPU to maintain the LCI table 14 13 12 11 10 9 SID(5:4) 2 1 flags(2:0) 0 8 Unused QIDvalid Bit 7 6 SID(3:0) QIDvalid Queue Enable: 0 5 TrafClass(3:0) 4 3 ABRdir Queue disabled. An attempt to store a cell to a disabled queue leads to a discard of the cell and a QIDINV interrupt is generated. If a filled queue gets disabled, cells may still be in the queue and they will be Read out. Actual filling of the queue can be obtained via QueueLength(13:0) parameter in the QCT entry. Queue enabled. Cells are allowed to enter the queue. 1 TrafClass(3:0) Traffic Class Number (0..15) Assigns the queue to one of the 16 traffic classes defined in the traffic class table TCT for this core. Scheduler Number (0..47) Assigns the queue to one of the 48 schedulers of this core. ABR CI/NI update of backward RM cells: 0 1 RM cells of the same core are updated. RM cells of the opposite core are updated. SID(5:0) ABRdir Data Sheet 6-104 09.99 PXB 4330 Register Descriptions Note: ABR Congestion Indication is done in RM cells of the backward ABR connection. In Bi-directional Mode, these cells are handled by the opposite core (therefore ABRdir must be 1 for each ABR QID). In Mini-switch Mode, these cells can be handled from the same or opposite core depending on configuration. (If only one core will be used ,ABRdir must be 0 for each ABR QID.) flag 2 CI-Flag: Whenever a cell is accepted the respective queue threshold values are checked. In case a CI condition is detected, this condition is stored in flag2 for further recognition by resource monitoring operation (ABR). It is recommended to set this bit to 0 during queue setup. Do not Write during normal operation. flag 1 NI-Flag: Whenever a cell is accepted the respective queue threshold values are checked. In case a NI condition is detected, this condition is stored in flag1 for further recognition by resource monitoring operation (ABR). It is recommended to set this bit to 0 during queue setup. Do not Write during normal operation. flag 0 EFCI-Flag: Whenever a cell is accepted the respective queue threshold values are checked. In case a EFCI condition is detected, this condition is stored in flag0 for further recognition by resource monitoring operation (ABR). It is recommended to set this bit to 0 during queue setup. Do not Write during normal operation. * Data Sheet 6-105 09.99 PXB 4330 Register Descriptions Register 16 QCT2 Queue Configuration Transfer Register 2 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H QCT2 36H Not used by CPU 14 13 12 11 10 9 8 Reserved(15:8) Bit 7 6 5 4 3 2 1 0 Reserved(15:8) reserved(13:0) Do not Write in normal operation. Register 17 QCT3 Queue Configuration Transfer Register 3 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H QCT3 37H Not used by CPU 14 13 12 11 10 9 8 Reserved(15:8) Bit 7 6 5 4 3 2 1 0 Reserved(15:8) reserved(13:0) Do not Write in normal operation. Data Sheet 6-106 09.99 PXB 4330 Register Descriptions Internal Table 4: Scheduler Occupancy Table Transfer Registers SOT0, SOT1 The Scheduler Occupancy Table Transfer Registers are used to access the internal Scheduler Occupancy Table (SOT) containing 2*48 entries. Table 6-9 shows an overview of the registers involved. Table 6-9 31 SOT RAM entry 15 SOT1 15 MASK1 0 15 MASK0 0 15 SOT0 0 15 WAR (0..47D, 64D..111D) 0 15 MAR=03H Entry select: 0 Registers for SOT Table Access 0 RAM Select: 0 SOT0 and SOT1 are the transfer registers for one 32-bit SOT table entry. The Scheduler number representing the table entry which needs to be Read or modified must be written to the Word Address Register (WAR). The dedicated SOT table entry is Read into the SOT1/SOT0 Registers or modified by the SOT1/SOT0 register values with a ReadModify-Write mechanism. The associated Mask Registers MASK0 and MASK1 allow a bit-by-bit selection between Read (1) and Write (0) operation. In case of Read operation, the dedicated SOT1/SOT0 register bit will be overwritten by the respective SOT table entry bit value. In case of Write operation, the dedicated SOT1/SOT0 register bit will modify the respective SOT table entry bit value. The Read-Modify-Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the SOT table, bit field MAR(4:0) must be set to 3. Bit 5 of MAR starts the transfer and is automatically cleared after execution of the Read-Modify-Write process. Data Sheet 6-107 09.99 PXB 4330 Register Descriptions Table 6-10 Bit 15 WAR Register Mapping for SOT Table Access 14 13 12 11 10 9 8 Unused(8:1) Bit 7 6 5 4 3 2 1 0 Unused(0) CoreSel SchedSel(5:0) CoreSel Selects an ABM core: 0 1 Upstream core selected Downstream core selected SchedSel(5:0) Selects one of the 48 core-specific Schedulers. Only values in the range 0..47D are valid. Register 18 SOT0 SOT Transfer Register 0 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H SOT0 38H Written and Read by CPU to maintain the LCI table 14 13 12 11 10 9 8 LDSTH(7:0) Bit 7 6 5 4 3 2 1 0 LDSTL(7:0) Data Sheet 6-108 09.99 PXB 4330 Register Descriptions LDSTH(7:0) Level Detection Scheduler Threshold High. If the upstream counter SchedOcc(15:0) (SOT1) equals or exceeds this threshold, the corresponding indication bit for this Scheduler in the registers LEVH0..LEVH2 is set to 1. The threshold is defined with a granularity of 256: Threshold = LDSTH(7:0) * 256 Cells Level Detection Scheduler Threshold Low. If the upstream counter SchedOcc(15:0) (SOT1) equals or exceeds this threshold, the corresponding indication bit for this Scheduler in the registers LEVL0..LEVL2 is set to 1. The threshold is defined with a granularity of 256: Threshold = LDSTL(7:0) * 256 Cells LDSTL(7:0) Note: As soon as the Scheduler fill level falls below a threshold, the corresponding indication bit in registers LEVH0..2 or LEVL0..2 is cleared. Note: Bit fields LDSTH and LDSTL are provided in the SOT table for the upstream and downstream core as well. But, automatic level detection, by comparing these values with the respective counters SchedOcc(15:0) and status indication in registers LEVH0..2 and LEVL0..2, is supported for upstream Schedulers only. Data Sheet 6-109 09.99 PXB 4330 Register Descriptions Register 19 SOT1 SOT Transfer Register 1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H SOT1 39H Read by CPU to maintain the SOT table 14 13 12 11 10 9 8 SchedOcc(15:8) Bit 7 6 5 4 3 2 1 0 SchedOcc(7:0) SchedOcc(15:0) Count of all cells within this Scheduler (in all queues and for all traffic classes). Read only. Do not Write in normal operation. Data Sheet 6-110 09.99 PXB 4330 Register Descriptions Register 20 MASK0/MASK1 Table Access Mask Registers 0/1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H MASK0 3BH MASK1 3CH Written by CPU to control internal table Read/Write access 14 13 12 11 10 9 8 Bit 15 MASK(15:8) Bit 7 6 5 4 3 2 1 0 MASK(7:0) MASK0(15:0) MASK1(15:0) Mask Register 0 Mask Register 1 Mask Registers 0..3 control the Read-Modify-Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (LCI0/LCI1, TCT0/TCT1, QCT0..3, SOT0/SOT1): 0 The dedicated bit of the transfer register is not overwritten by the corresponding table entry bit during Read; but overwrites the table entry bit during the Modify-Write process. This is a Write access to the internal table entry. The dedicated bit of the transfer register is overwritten by the corresponding table entry bit during Read and is written back to the table entry bit during Modify-Write. This is a Read access to the internal table entry. 1 Data Sheet 6-111 09.99 PXB 4330 Register Descriptions Register 21 MASK2/MASK3 Table Access Mask Registers 2/3 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H MASK2 3DH MASK3 3EH Written by CPU to control internal table Read/Write access 14 13 12 11 10 9 8 Bit 15 MASK(15:8) Bit 7 6 5 4 3 2 1 0 MASK(7:0) MASK2(15:0) MASK3(15:0) Mask Register 2 Mask Register 3 Mask Registers 0..3 control the Read-Modify-Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The Mask Registers correspond to the respective transfer registers (LCI0/LCI1, TCT0/TCT1, QCT0..3, SOT0/SOT1): 0 The dedicated bit of the transfer register is not overwritten by the corresponding table entry bit during Read; but overwrites the table entry bit during the Modify-Write process. This is a Write access to the internal table entry. The dedicated bit of the transfer register is overwritten by the corresponding table entry bit during Read and is written back to the table entry bit during Modify-Write. This is a Read access to the internal table entry. 1 Note: Registers MASK2 and MASK3 are only involved when accessing the Queue Control Table (QCT). Due to the fact that only Read access is recommended for this part of the QCT entries (see Queue Configuration Table Transfer Registers QCT0..3), MASK2 and MASK3 should be programmed to FFFFH during initialization and should not be changed during operation. Data Sheet 6-112 09.99 PXB 4330 Register Descriptions Register 22 CONFIG Configuration Register CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 14 Read/Write 0000H 41H Written by CPU 13 12 11 10 9 8 Unused(13:6) Bit 7 6 5 4 3 2 1 0 Unused(5:0) Reserved1 ABRTQ Reserved1 ABRTQ this bit is for internal use only and must be set at 0 during normal operation. ABR Toggle Queue ID: This global bit controls treatment of RM cells for uni-directional (miniswitch) mode. 0 1 Normal Operation (set for bi-directional mode). Only RM cells with toggled LCI and QID are modified. Note: The following conditions must apply for proper CI/NI operation: In Bi-directional Mode, the same LCI and the same queue identifier QID must be used for the ABR connection in forward and backward directions; for example, in forward direction LCI=2 and QID=7, in backward direction LCI=2 and QID=7. In Uni-directional Mode, LCI and QID must have the LSB inverted; for example, in forward direction LCI=3 and QID=7, in backward direction LCI=2 and QID=6. The LCI inversion (toggle) is activated by setting the LCI toggle bit in the MODE register to 1. Data Sheet 6-113 09.99 PXB 4330 Register Descriptions Register 23 LEVL0 Upstream Scheduler Lower Threshold Reached Indication Register 0 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 0000H 45H Read by CPU 14 13 12 11 10 9 8 SchedIndLow(15:8) Bit 7 6 5 4 3 2 1 0 SchedIndLow(7:0) SchedIndLow (15:0) These bits represent the respective upstream scheduler(15:0) and indicate that its lower scheduler threshold configured in the SOT0 table is reached or exceeded; that is, at least as many cells are currently stored as specified by the LDSTL threshold value: bit i=1 Scheduler i lower threshold reached or exceeded. Data Sheet 6-114 09.99 PXB 4330 Register Descriptions Register 24 LEVL1 Upstream Scheduler Lower Threshold Reached Indication Register 1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 0000H 46H Read by CPU 14 13 12 11 10 9 8 SchedIndLow(31:24) Bit 7 6 5 4 3 2 1 0 SchedIndLow(23:16) SchedIndLow (31:16) These bits represent the respective upstream scheduler(31:16) and indicate that its lower scheduler threshold configured in the SOT0 table is reached or exceeded; that is, more cells are currently stored than specified by the LDSTL threshold value: bit i=1 Scheduler i lower threshold reached or exceeded. Data Sheet 6-115 09.99 PXB 4330 Register Descriptions Register 25 LEVL2 Upstream Scheduler Lower Threshold Reached Indication Register 2 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 0000H 47H Read by CPU 14 13 12 11 10 9 8 SchedIndLow(47:40) Bit 7 6 5 4 3 2 1 0 SchedIndLow(39:32) SchedIndLow (47:32) These bits represent the respective upstream scheduler(47:32) and indicate that its lower scheduler threshold configured in the SOT0 table is reached or exceeded; that is, more cells are currently stored than specified by the LDSTL threshold value: bit i=1 Scheduler i lower threshold reached or exceeded. Data Sheet 6-116 09.99 PXB 4330 Register Descriptions Register 26 LEVH0 Upstream Scheduler High Threshold Reached Indication Register 0 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 0000H 48H Read by CPU 14 13 12 11 10 9 8 SchedIndHigh(15:8) Bit 7 6 5 4 3 2 1 0 SchedIndHigh(7:0) SchedIndHigh (15:0) These bits represent the respective upstream scheduler(15:0) and indicate that its higher scheduler threshold configured in the SOT0 table is reached or exceeded; that is. more cells are currently stored than specified by the LDSTH threshold value: bit i=1 Scheduler i higher threshold reached or exceeded. Data Sheet 6-117 09.99 PXB 4330 Register Descriptions Register 27 LEVH1 Upstream Scheduler High Threshold Reached Indication Register 1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 0000H 49H Read by CPU 14 13 12 11 10 9 8 SchedIndHigh(31:24) Bit 7 6 5 4 3 2 1 0 SchedIndHigh(23:16) SchedIndHigh (31:16) These bits represent the respective upstream scheduler(31:16) and indicate that its lower scheduler threshold configured in the SOT0 table is reached or exceeded; that is, more cells are currently stored than specified by the threshold value: bit i=1 Scheduler i higher threshold reached or exceeded. Data Sheet 6-118 09.99 PXB 4330 Register Descriptions Register 28 LEVH2 Upstream Scheduler High Threshold Reached Indication Register 2 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 0000H 4AH Read by CPU 14 13 12 11 10 9 8 SchedIndHigh(47:40) Bit 7 6 5 4 3 2 1 0 SchedIndHigh(39:32) SchedIndHigh (47:32) These bits represent the respective upstream scheduler(47:32) and indicate that its lower scheduler threshold configured in the SOT0 table is reached or exceeded; that is, more cells are currently stored than specified by the threshold value: bit i=1 Scheduler i higher threshold reached or exceeded. Data Sheet 6-119 09.99 PXB 4330 Register Descriptions Register 29 CDVU/CDVD Upstream/Downstream Rate Shaper CDV Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H CDVU 52H CDVD 72H Written by CPU 14 13 12 Unused(6:0) 11 10 9 8 CDV Max(8) 3 2 1 0 Bit 7 6 5 4 CDVMax(7:0) CDVMax(8:0) Maximal Cell Delay Variation (without notice) This bit-field determines a maximum CDV value for peak rate limited queues that can be introduced without notice. The CDVMax is measured in multiples of 16-cell cycles. If this maximum CDV is exceeded, a CDVOV (see registers ISRU/ ISRD) interrupt is generated to indicate an unexpected CDV value. This can occur if multiple peak rate limited queues are scheduled to emit a cell in the same Scheduler time slot. No cells are discarded due to this event. Data Sheet 6-120 09.99 PXB 4330 Register Descriptions Register 30 QMSKU0/QMSKU1 Upstream Queue Parameter Table Mask Registers 0/1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H QMSKU0 55H QMSKU1 56H Written by CPU to control internal table Read/Write access 14 13 12 11 10 9 8 Bit 15 QMSKU(15:8) Bit 7 6 5 4 3 2 1 0 QMSKU(7:0) QMSKU0(15:0) QMSKU1(15:0) Upstream QPT Mask Register 0 Upstream QPT Mask Register 1 Mask 0 and 1 control the Read-Modify-Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (QPTHU0/QPTHU1, QPTLU0/QPTLU1): 0 The dedicated bit of the transfer register is not overwritten by the corresponding table entry bit during Read; but overwrites the table entry bit during the Modify-Write process. This is a Write access to the internal table entry. The dedicated bit of the transfer register is overwritten by the corresponding table entry bit during Read and is written back to the table entry bit during Modify-Write. This is a Read access to the internal table entry. 1 Data Sheet 6-121 09.99 PXB 4330 Register Descriptions Register 31 QMSKD0/QMSKD1 Downstream Queue Parameter Table Mask Registers 0/1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H QMSKD0 75H QMSKD1 76H Written by CPU to control internal table Read/Write access 14 13 12 11 10 9 8 Bit 15 QMSKD(15:8) Bit 7 6 5 4 3 2 1 0 QMSKD(7:0) QMSKD0(15:0) QMSKD1(15:0) Downstream QPT Mask Register 0 Downstream QPT Mask Register 1 Mask 0 and 1 control the Read-Modify-Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (QPTHD0/QPTHD1, QPTLD0/QPTLD1): 0 The dedicated bit of the transfer register is not overwritten by the corresponding table entry bit during Read; but overwrites the table entry bit during the Modify-Write. process This is a Write access to the internal table entry. The dedicated bit of the transfer register is overwritten by the corresponding table entry bit during Read and is written back to the table entry bit during Modify-Write. This is a Read access to the internal table entry. 1 Data Sheet 6-122 09.99 PXB 4330 Register Descriptions Internal Table 5: Queue Parameter Table Transfer Registers Queue Parameter Table Transfer Registers are used to access the internal Upstream and Downstream Queue Parameter Tables (QPT) containing 2*1024 entries. In both Table 6-11 and Table 6-12 provide an overview of the registers involved. Each QPT entry consists of 64 bits, splitted into two 32-bit internal RAMs. Table 6-11 63 15 QPTHU1 15 QMSKU1 31 15 QPTLU1 15 QMSKU1 0 15 QMSKU0 0 15 QPTLU0 0 15 WAR (0..1023D) 0 15 QMSKU0 0 RAM select: 15 MAR=10H Entry Select: 0 0 0 0 15 QPTHU0 0 15 WAR (0..1023D) Registers for QPT Upstream Table Access 32 RAM Select: 15 MAR=11H Entry Select: 0 0 0 QPT RAM entry high word (Upstream) QPT RAM entry low word (Upstream) Data Sheet 6-123 09.99 PXB 4330 Register Descriptions * Table 6-12 63 15 Registers for QPT Downstream Table Access 32 RAM select: 15 MAR=19H Entry select: 0 QMSKD0 0 RAM select: 15 MAR=18H Entry select: 0 QMSKD0 15 WAR (0..1023D) 0 0 0 15 0 QPTLD0 0 15 15 WAR (0..1023D) 0 0 0 15 0 QPTHD0 0 15 QPT RAM entry high word(Downstream) QPTHD1 15 QMSKD1 31 15 QPTLD1 15 QMSKD1 QPT RAM entry low word (Downstream) QPTHU1 and QPTHU0 are the transfer registers for the 32-bit high word of one upstream QPT table entry. QPTLU1 and QPTLU0 are the transfer registers for the 32-bit low word of one upstream QPT table entry. Access to high and low word are both controlled by mask registers QMSKU1 and QMSKU0. The register set for accessing the downstream QPT table entries is equal to the upstream set. The queue number representing the table entry which needs to be Read or modified must be written to the Word Address Register (WAR). The dedicated QPT table entry is Read into the QPTxy1/QPTxy0 registers (x=H,L; y=U,D) or modified by the QPTxy1/ QPTxy0 register values with a Read-Modify-Write mechanism. The associated mask registers QMSKy0 and QMSKy1 allow a bit-by-bit selection between Read (1) and Write (0) operation. In case of Read operation, the dedicated QPTxy1/QPTxy0 register bit will be overwritten by the respective QPT table entry bit value. In case of Write operation, the dedicated QPTxy1/QPTxy0 register bit will modify the respective QPT table entry bit value. Data Sheet 6-124 09.99 PXB 4330 Register Descriptions The Read-Modify-Write process is controlled by the Memory Address Register (MAR). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the QPT table bit field MAR(4:0) must be set to 11H for QPT upstream table high word, 10H for QPT upstream table low word, 19H for QPT downstream table high word, 18H for QPT downstream table low word. Bit 5 of MAR starts the transfer and is cleared automatically after execution of the ReadModify-Write process. Table 6-13 Bit 15 WAR Register Mapping for QPT Table Access 14 13 12 11 10 9 8 Unused(5:0) Bit 7 6 5 4 3 2 QueueSel9:8) 1 0 QueueSel(7:0) QueueSel(9:0) Selects one of the 1024 queue parameter table entries. Data Sheet 6-125 09.99 PXB 4330 Register Descriptions Register 32 QPTLU0/QPTLD0 QPT Upstream/Downstream Low Word Transfer Register 0 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H QPTLU0 60H QPTLD0 80H Written by CPU during queue initialization 14 13 12 11 10 9 8 Reserved(13:6) Bit 7 6 5 4 3 2 1 0 Reserved(5:0) Reserved(13:0) flags(1:0) These bits are used by the device logic. Do not Write to this field as that could lead to complete malfunctioning of the ABM which can be corrected by chip reset only. These bits must be written to 0 when initializing the queue. Do not Write during normal operation. flags(1:0) Data Sheet 6-126 09.99 PXB 4330 Register Descriptions Register 33 QPTLU1/QPTLD1 QPT Upstream/Downstream Low Word Transfer Register 1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H QPTLU1 61H QPTLD1 81H Not used by CPU 14 13 12 11 10 9 8 Reserved(15:8) Bit 7 6 5 4 3 2 1 0 Reserved(7:0) Reserved(15:0) These bits are used by the device logic. Do not Write to this field; it could lead to complete malfunctioning of the ABM which can be corrected by chip reset only. Data Sheet 6-127 09.99 PXB 4330 Register Descriptions Register 34 QPTHU0/QPTHD0 QPT Upstream/Downstream High Word Transfer Register 0 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H QPTHU0 62H QPTHD0 82H Written and Read by CPU to maintain the QPT table 14 13 12 11 10 9 8 RateFactor(15:8) Bit 7 6 5 4 3 2 1 0 RateFactor(7:0) RateFactor(15:0) Controls the Peak Cell Rate of the queue. It is identical to the Rate factor 'm' described in "Programming of the Peak Rate Limiter / PCR Shaper" on page 4-58. The value 0 disables the PCR limiter, that is, the cells from this queue bypass the shaper circuit (see Figure 3-1). * Data Sheet 6-128 09.99 PXB 4330 Register Descriptions Register 35 QPTHU1/QPTHD1 QPT Upstream/Downstream High Word Transfer Register 1 CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H QPTHU1 63H QPTHD1 83H Written and Read by CPU to maintain the QPT table 14 13 12 11 10 9 8 Unused(1:0) Bit 7 6 5 4 WFQFactor(13:8) 3 2 1 0 WFQFactor(7:0) WFQFactor (13:0) Determines the weight factor W of the queue at the WFQ multiplexer input to which it is connected. It is identical to the WFQ factor 'n' in "Programming of the Peak Rate Limiter / PCR Shaper" on page 4-58. 1/n = W is the weight factor. The value WFQ factor = 0 connects the queue directly to the priority multiplexor bypassing the WFQ Multiplexer (see Figure 3-3). (If more then one queue is connected to the priority multiplexer, then scheduled queues are served with LIFO bahavior). Data Sheet 6-129 09.99 PXB 4330 Register Descriptions Internal Table 6: Scheduler Configuration Table Fractional Transfer Registers The Scheduler Configuration Table Fractional Transfer Registers are used to access the internal Upstream/Downstream Scheduler Configuration Tables Fractional Part (SCTF) containing 48 entries each. Table 6-14 and Table 6-15 summarize the registers. Table 6-14 15 Registers SCTF Upstream Table Access 0 RAM Select: 15 MAR=17H Entry Select: 15 SMSKU 0 15 WAR (0..47D) 0 0 SCTF RAM Entry (Upstream) 15 SCTFU 0 Table 6-15 15 Registers SCTF Downstream Table Access 0 RAM Select: 15 MAR=1FH Entry Select: 0 15 WAR (0..47D) 0 0 SCTF RAM Entry (Downstream) 15 SCTFD 15 SMSKD 0 SCTFU and SCTFD are transfer registers for one 16-bit SCTF upstream/downstream table entry. The upstream and downstream Schedulers use different tables (internal RAMs) addressed via the MAR. The Scheduler number representing the table entry which needs to be Read or modified must be written to the WAR (Word Address Register). The dedicated SCTFU/D table entry is Read into the SCTFU/D registers or modified by the SCTFU/D register value with a Read-Modify-Write mechanism. The associated mask registers, SMSKU and SMSKD, allow a bit-by-bit selection between Read (1) and Write (0) operation. In case of Read operation, the dedicated SCTFU/D register bit will be overwritten by the respective SCTFU/D table entry bit value. In case Data Sheet 6-130 09.99 PXB 4330 Register Descriptions of Write operation, the dedicated SCTFU/D register bit will modify the value of the respective SCTFU/D table entry bit. The Read-Modify-Write process is controlled by the MAR (Memory Address Register). The 5 LSBs (= Bit 4..0) of the MAR register select the memory/table that will be accessed; to select the SCTF Upstream table, bit field MAR(4:0) must be set to 17H and 1FH for the SCTF Downstream table respectively. Bit 5 of MAR starts the transfer and is automatically cleared after execution of the Read-Modify-Write process. Table 6-16 Bit 15 WAR Register Mapping for SCTFU/SCTFD Table access 14 13 12 11 10 9 8 Unused(9:2) Bit 7 6 5 4 3 2 1 0 Unused(1:0) SchedSel(5:0) SchedSel(5:0) Selects one of the 48 core specific Schedulers. Only values in the range 0..47D are valid. Register 36 SCTFU/SCTFD Upstream/Downstream SCTF Transfer Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H SCTFU 96H SCTFD B6H Written and Read by CPU to maintain the SCTF tables 14 13 12 Init(7:0) Bit 7 6 5 4 3 2 1 0 11 10 9 8 FracRate(7:0) Data Sheet 6-131 09.99 PXB 4330 Register Descriptions Init(7:0) Scheduler Initialization Value This bit-field must be written to 00H at the time of Scheduler configuration/initialization and should not be written during normal operation. Fractional Rate This value determines the fractional part of the Scheduler output rate. FracRate(7:0) Note: Recommendation for changing the UTOPIA port number or scheduler rate during operation: Disable specific scheduler by read-modify-write operation to corresponding bit in registers SCEN0U/SCEN0D... SCEN2U/SCEN2D. Modify scheduler specific UTOPIA port number and rates via Table 7 "Scheduler Configuration Table Integer Transfer Registers" on page 6-134, registers SCTIU/ SCTID and Table 6 "Scheduler Configuration Table Fractional Transfer Registers" on page 6-130, registers SCTFU/SCTFD. Enable specific scheduler by read-modify-write operation to corresponding bit in registers SCEN0U/SCEN0D... SCEN2U/SCEN2D. The following formulars explain how the two parameters IntRate and FracRate determine the scheduler output rate R via an auxiliary parameter T: SYSCLK T = -----------------------------------1 32 cells x R with * ABM core clock, [SYSCLK} = 1/s * Scheduler output rate, [R] = cells/s IntRate = with * int(T) is integer part of T FracRate = { T - int ( T ) } x 256 + 1 Thus IntRate and FracRate can be calculated for a given scheduler output rate R. int ( T ) [without dimension] Data Sheet 6-132 09.99 PXB 4330 Register Descriptions Register 37 SMSKU/SMSKD Upstream/Downstream SCTF Mask Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H SMSKU 95H SMSKD B5H Written by CPU to control internal table Read/Write access 14 13 12 11 10 9 8 Bit 15 SMSK(15:8) Bit 7 6 5 4 3 2 1 0 SMSK(7:0) SMSKU(15:0) SMSKD(15:0) Upstream SCTF Mask Register Downstream SCTF Mask Register SMSKU and SMSKD control the Read-Modify-Write access from the respective transfer registers to the internal tables on a per-bit selection basis. The mask registers correspond to the respective transfer registers (SCTFU, SCTFD): 0 The dedicated bit of the transfer register is not overwritten by the corresponding table entry bit during Read; but does overwrite the table entry bit during the Modify-Write process. This is a Write access to the internal table entry. The dedicated bit of the transfer register is overwritten by the corresponding table entry bit during Read and is written back to the table entry bit during the Modify-Write process. This is a Read access to the internal table entry. 1 Data Sheet 6-133 09.99 PXB 4330 Register Descriptions Internal Table 7: Scheduler Configuration Table Integer Transfer Registers The Scheduler Configuration Table Integer Transfer Registers are used to access the internal Upstream/Downstream Scheduler Configuration Tables Integer Part (SCTI) containing 48 entries each. These tables are not addressed by the MAR and WAR regisers, but are addressed via dedicated address registers (SADRU/SADRD) and data registers (SCTIU/SCTID). Table 6-17 and Table 6-18 show an overview of the registers involved. Table 6-17 31 SCTI RAM entry (Upstream) 15 SCTIU 0 Registers SCTI Upstream Table Access 0 RAM/Entry/Word select: 15 SADRU (WSEL=1) 15 SCTIU 0 15 SADRU (WSEL=0) 0 0 Table 6-18 31 Registers SCTI Downstream Table Access 0 SCTI RAM Entry (Downstream) RAM/Entry/Word select: 15 SADRD (WSEL=1) 15 SCTID 0 15 SADRD (WSEL=0) 0 0 15 SCTID 0 Data Sheet 6-134 09.99 PXB 4330 Register Descriptions SCTIU and SCTID are the transfer registers for the 32-bit SCTI upstream/downstream table entries. The upstream and downstream Schedulers use different tables (internal RAMs) addressed via dedicated registers, SADRU/SADRD. The address registers select the scheduler-specific entry as well as the high or low word of a 32-bit entry to be accessed. Further, there is no command bit, but transfers are triggered via Write access of the address registers and the data registers: * To initiate a Read access, the Scheduler number must be written to the address register SADRU (upstream) or to the address register SADRD (downstream). One system clock cycle later, the data can be Read from the respective transfer register SCTIU or SCTID. * To initiate a Write access, it is sufficient to Write the desired Scheduler number to the address registers, SADRU and SADRD, and then Write the desired data to the respective transfer register, SCTIU or SCTID, respectively. The transfer to the integer table is executed one system clock cycle after the Write access to SCTIU or SCTID. Thus, consecutive Write cycles may be executed by the microprocessor. The SCTI table entries are either read or written. Thus, no additional mask registers are provided for bit-wise control of table entry accesses. Data Sheet 6-135 09.99 PXB 4330 Register Descriptions Register 38 SADRU/SADRD Upstream/Downstream SCTI Address Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H SADRU 90H SADRD B0H Written and Read by CPU to maintain the SCTI tables 14 13 12 11 10 9 8 unused(7:0) Bit 7 WSel WSel 6 0 5 4 3 2 1 0 SchedNo(5:0) SCTI table entry Word Select 1 0 Selects the high word (bit 31..16) for next access via register SCTIU/SCTID Selects the low word (bit 15..0) for next access via register SCTIU/SCTID SchedNo(5:0) Scheduler Number Selects one of the 48 core-specific Schedulers for next access via register SCTIU/SCTID. Only values in the range 0..47D are valid. Data Sheet 6-136 09.99 PXB 4330 Register Descriptions Register 39 SCTIU/SCTID Upstream/Downstream SCTI Transfer Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H SCTIU 91H SCTID B1H Written by CPU to maintain the SCTI tables Register SADRx.WSel = 0: Bit 15 14 13 12 11 10 9 8 unused(1:0) Bit 7 6 5 4 IntRate(13:8) 3 2 1 0 IntRate(7:0) IntRate(13:0) Integer Rate This value determines the integer part of the Scheduler output rate. Note: Recommendation for changing the UTOPIA port number or scheduler rate during operation: Disable specific scheduler by read-modify-write operation to corresponding bit in registers SCEN0U/SCEN0D... SCEN2U/SCEN2D. Modify scheduler specific UTOPIA port number and rates via Table 7 "Scheduler Configuration Table Integer Transfer Registers" on page 6-134, registers SCTIU/ SCTID and Table 6 "Scheduler Configuration Table Fractional Transfer Registers" on page 6-130, registers SCTFU/SCTFD. Enable specific scheduler by read-modify-write operation to corresponding bit in registers SCEN0U/SCEN0D... SCEN2U/SCEN2D. Data Sheet 6-137 09.99 PXB 4330 Register Descriptions Note: Read access to bit-field IntRate(13:0) is not supported and will return undefined values. The following formulars explain how the two parameters IntRate and FracRate determine the scheduler output rate R via an auxiliary parameter T: SYSCLK T = ----------------------------------- [without dimension] -1 32 cells x R with * ABM core clock, [SYSCLK} = 1/s * Scheduler output rate, [R] = cells/s IntRate = with * int(T) is integer part of T FracRate = { T - int ( T ) } x 256 + 1 Thus IntRate and FracRate can be calculated for a given scheduler output rate R. int ( T ) Register SADRx.WSel = 1: Bit 15 14 13 12 11 10 9 8 Init(10:3) Bit 7 6 Init(2:0) Init(10:0) 5 4 3 2 UtopiaPort(4:0) 1 0 Initialization Value It is recommended to Write this bit-field to all zeroes during Scheduler configuration/initialization (see note below for further details). Data Sheet 6-138 09.99 PXB 4330 Register Descriptions UtopiaPort(4:0) UTOPIA Port Number Specifies one of the 24 UTOPIA ports to which the Scheduler is assigned to. Only values in the range 0..23D are valid. The UTOPIA port number value can be changed during operation (see note below). The UTOPIA port number can be modified during operation; (port) switch-over is e.g. used for ATM protection switching. The following Notes explain switch-over and rate adaption during operation: Note: This SCTI table entry should be programmed during Scheduler configuration/ initialization. However the UTOPIA port number value can be modified during operation (e.g. for port switching). In this case the Init(10:0) value can be reset to zero. This bit-field contains a 4 bit counter incrementing the number of unused scheduler cell cycles. Unused cell cycles occur whenever a scheduled event cannot be served, because a previously generated event is still in service (active cell transfer at UTOPIA interface). This counter value is used (and decremented accordingly) to determine the allowed cell burst size for following scheduler events. Such bursts are treated as 'one event' to allow a near 100% scheduler rate utilization. The maximum burst size is programmed in registers ECRIU/ ECRID on page 6-140. Thus overwriting bit-field Init(10:0) with zero during operation may invalidate some stored cell cycles, only if maximum burst size is programmed >1 for this port. Only saved scheduler cell cycles can get lost, in no means stored cells can get lost or discarded by these operations. To minimize even this small impact, value Init(10:0) can be read and written back with the new UTOPIA port number. Note: Recommendation for changing the UTOPIA port number or scheduler rate during operation: Disable specific scheduler by read-modify-write operation to corresponding bit in registers SCEN0U/SCEN0D... SCEN2U/SCEN2D. Modify scheduler specific UTOPIA port number and rates via Table 7 "Scheduler Configuration Table Integer Transfer Registers" on page 6-134, registers SCTIU/ SCTID and Table 6 "Scheduler Configuration Table Fractional Transfer Registers" on page 6-130, registers SCTFU/SCTFD. Enable specific scheduler by read-modify-write operation to corresponding bit in registers SCEN0U/SCEN0D... SCEN2U/SCEN2D. Data Sheet 6-139 09.99 PXB 4330 Register Descriptions Register 40 ECRIU/ECRID Upstream/Downstream Empty Cycle Rate Integer Part Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H ECRIU 92H ECRID B2H Written by CPU for global Scheduler configuration 14 13 12 11 10 9 8 MaxBurstS(3:0) Bit 7 6 5 4 Unused(1:0) 3 2 ECIntRate(9:8) 1 0 ECIntRate(7:0) Data Sheet 6-140 09.99 PXB 4330 Register Descriptions MaxBurstS(3:0) Maximum Burst size for a Scheduler Per scheduler cell bursts can occur due to previously unused cell cycles. Each scheduler has an event generator that determines when this scheduler should be served based on the programmed scheduler rates. Because several schedulers share one UTOPIA interface, it may happen that events cannot be served immediately due to active cell transfers of previous events. Such 'unused cell cycles' are counted (see also registers SCTIU/SCTID on page 6137) and can be used for later cell bursts allowing a near 100% scheduler rate utilization. Cell bursts due to this mechanism are not rate limited. The maximum burst size, generated due to previously counted 'unused cell cycles', is controlled by bit field MaxBurstS(3:0) in the range 0..15 cells (a minimum value of 1 is recommended). Maximum burst size dimensioning depends on the burst tolerance of subsequent devices (buffer capacity and backpressure capability). E.g. if PHY(s) connected to the ABM do not support backpressure and provide a 3 cell transmit buffer, a value in the range 1..3 is recommended to avoid PHY buffer overflows resulting in cell losses (e.g. typical for ADSL PHYs connected to the ABM). If a PHY is connected that supports port specific backpressure to prevent its transmit buffers from overflowing or provides sufficient buffering, the maximum value of 15 can be programmed guaranteeing a near 100% scheduler rate utilization. Data Sheet 6-141 09.99 PXB 4330 Register Descriptions ECIntRate(9:0) Integer part of Empty Cycle Rate The empty cycles are required by internal logic to perform the refresh cycles of the SDRAMS. Minimum value is 10H and should be programmed during configuration. The following formulars explain how the two parameters ECIntRate and ECFracRate determine the scheduler output rate R via an auxiliary parameter T: SYSCLK x RefreshPeriod T max = ------------------------------------------------------------------------32 x RefreshCycles with: * ABM core clock SYSCLK = [1/s] * SDRAM RefreshPeriod = [s] * SDRAM RefreshCycles requirement ECIntRate = with * int(T) is integer part of T ECFracRate = { T - int ( T ) } x 256 + 1 Thus ECIntRate and ECFracRate can be calculated for a given scheduler output rate R. int ( T ) (8) Data Sheet 6-142 09.99 PXB 4330 Register Descriptions Register 41 ECRFU/ECRFD Upstream/Downstream Empty Cycle Rate Fractional Part Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H ECRFU 93H ECRFD B3H Written by CPU for global Scheduler configuration 14 13 12 11 10 9 8 Unused(7:0) Bit 7 6 5 4 3 2 1 0 ECFracRate(7:0) Data Sheet 6-143 09.99 PXB 4330 Register Descriptions ECFracRate(7:0) Fractional part of Empty Cycle Rate The empty cycles are required by internal logic to perform the refresh cycles of the SDRAMS. Recommended value is 00H and should be programmed during configuration. The following formulars explain how the two parameters ECIntRate and ECFracRate determine the scheduler output rate R via an auxiliary parameter T: SYSCLK x RefreshPeriod T max = ------------------------------------------------------------------------32 x RefreshCycles with: * ABM core clock SYSCLK = [1/s] * SDRAM RefreshPeriod = [s] * SDRAM RefreshCycles requirement ECIntRate = with * int(T) is integer part of T ECFracRate = { T - int ( T ) } x 256 + 1 Thus ECIntRate and ECFracRate can be calculated for a given scheduler output rate R. int ( T ) (8) Data Sheet 6-144 09.99 PXB 4330 Register Descriptions Register 42 CRTQU/CRTQD Upstream/Downstream Common Real Time Queue UTOPIA Port Select Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H CRTQU 94H CRTQD B4H Written by CPU for global Scheduler configuration 14 13 12 11 10 9 8 Unused(10:3) Bit 7 6 Unused(2:0) CtrqUtopia(4:0) 5 4 3 2 CrtqUtopia(4:0) 1 0 Common Real Time Queue UTOPIA Port Number. Specifies one of the 24 UTOPIA ports to which the common real time queue is assigned. Only values in the range 0..23D are valid. Data Sheet 6-145 09.99 PXB 4330 Register Descriptions Register 43 SCEN0U/SCEN0D Upstream/Downstream Scheduler Enable 0 Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H SCEN0U 98H SCEN0D B8H Written by CPU for global Scheduler configuration 14 13 12 11 10 9 8 SchedEn(15:8) Bit 7 6 5 4 3 2 1 0 SchedEn(7:0) SchedEn(15:0) Scheduler Enable Each bit position enables/disables the respective Scheduler (15..0): 1 0 Scheduler enabled Scheduler disabled Data Sheet 6-146 09.99 PXB 4330 Register Descriptions Register 44 SCEN1U/SCEN1D Upstream/Downstream Scheduler Enable 1 Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H SCEN1U 99H SCEN1D B9H Written by CPU for global Scheduler configuration 14 13 12 11 10 9 8 SchedEn(31:24) Bit 7 6 5 4 3 2 1 0 SchedEn(23:16) SchedEn(31:16) Scheduler Enable Each bit position enables/disables the respective Scheduler (31..16): 1 0 Scheduler enabled Scheduler disabled Data Sheet 6-147 09.99 PXB 4330 Register Descriptions Register 45 SCEN2U/SCEN2D Upstream/Downstream Scheduler Enable 2 Registers CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H SCEN2U 9AH SCEN2D BAH Written by CPU for global Scheduler configuration 14 13 12 11 10 9 8 SchedEn(47:40) Bit 7 6 5 4 3 2 1 0 SchedEn(39:32) SchedEn(47:32) Scheduler Enable Each bit position enables/disables the respective Scheduler (47..32): 1 0 Scheduler enabled Scheduler disabled Data Sheet 6-148 09.99 PXB 4330 Register Descriptions Register 46 ISRU Interrupt Status Register Upstream CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H ISRU D0H Read by CPU to evaluate interrupt events related to the upstream core. Interrupt indications must be cleared by writing a 1 to the respective bit locations; writing a 0 has no effect; 14 13 12 BUFER 1 4 BUFER4/ CNTUF Bit 15 11 LCI INVAL 3 10 9 8 BUFER 2 0 VCRM ER Unused RAMER QIDINV PARITY SOCER ER 2 1 BUFER 5 Bit 7 BUFER 3 6 5 CDVOV MUXOV RMCER BIP8ER RAMER Configuration of common Cell Pointer RAM has been changed after cells have been received (see Register MODE, bit field CPR). (This is a global interrupt shared by both cores. That is, it is not exclusively related to the Upstream Core.) This interrupt is generated if the ABM tries to write a cell into a disabled queue. The cell is discarded in this case. (Typically occurs on queue configuration errors.) Unexpected buffer error number 1. Should never occur in normal operation. Immediate reset of the chip recommended. Cell with invalid LCI received, that is, a LCI value > 8191. The cell is discarded. Parity error at UTOPIA receive upstream (PHY) Interface detected. QIDINV BUFER1 LCIINVAL PARITYER Data Sheet 6-149 09.99 PXB 4330 Register Descriptions SOCER Start of Cell Error at UTOPIA receive upstream (PHY) Interface detected. Unexpected Buffer Error number 2. Should never occur in normal operation. Immediate reset of the chip is recommended. Unexpected Buffer Error number 3. Should never occur in normal operation. Immediate reset of the chip is recommended. The maximum upstream CDV value for shaped connections given in CDVU register has been exceeded. This interrupt is a notification only; that is, no cells are discarded due to this event. Indicates that a Scheduler lost a serving time slot. (Can indicate a static backpressure on one port). The 'MUXOV' interrupt is generated when the number of lost serving time slots exceeds the number specified in bit field MaxBurstS(3:0) (see register ECRIU/ECRID). No further action is required upon this interrupt. Indicates that a scheduler specific counter for 'unused cell cycles' has falsely been set to its maximum value by device logic (maximum value is determined by parameter MaxBurstS(3:0) programmed in register ECRIU/ECRID). This can occur when either the scheduler rate or the UTOPIA port number are changed during operation without disabling the scheduler. As a consequence a burst of up to MaxBurstS(3:0) cells can be sent out that is not justified by previously saved cell cycles. No cells are discarded due to this event and no further action is required upon this interrupt. ABR RM Cell received with corrupted CRC-10. BIP-8 error detected when reading a cell from the upstream external SDRAM. BIP-8 protects the cell header of each cell. The cell is discarded. One single sporadic event can be ignored. Hardware should be taken out of service when the error rate exceeds 10-10. 6-150 09.99 BUFER2 BUFER3 CDVOV MUXOV BUFER4/ CNTUF RMCER BIP8ER Data Sheet PXB 4330 Register Descriptions BUFER5 Unexpected Buffer Error number 5. Should never occur in normal operation. Immediate reset of the chip recommended. For consistency check the ABM stores the queue ID with each cell written to the respective queue within the cell storage RAM. When reading a cell from the cell storage RAM, the queue ID is compared to the stored queue ID. A queue ID mismatch would indicate a global buffering/pointer problem. VC RM Cell received erroneously when traffic class is configured for ABR VPs using bit ABRvp in Register TCT1 (see Register 13: TCT1). VCRMER Note: Several mechanisms are implemented in the ABM to check for consistency of pointer operation and internal/external memory control. The interrupt events BUFFER1..BUFFER5 indicate errors detected by these mechanisms. It is recommended that these interrupts be classified as "fatal device errors." Data Sheet 6-151 09.99 PXB 4330 Register Descriptions Register 47 ISRD Interrupt Status Register Downstream CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H ISRD D1H Read by CPU to evaluate interrupt events related to the upstream core. Interrupt indications must be cleared by writing a 1 to the respective bit locations; writing a 0 has no effect; 14 13 QIDINV 12 BUFER 1 4 BUFER4/ CNTUF Bit 15 11 LCI INVAL 3 10 9 8 BUFER 2 0 VCRM ER Unused(1:0) PARITY SOCER ER 2 1 BUFER 5 Bit 7 BUFER 3 6 5 CDVOV MUXOV RMCER BIP8ER QIDINV This interrupt is generated if the ABM tries to Write a cell into a disabled queue. The cell is discarded. (Typically occurs on queue configuration errors.) Unexpected Buffer Error number 1. Should never occur in normal operation. Immediate reset of the chip is recommended. Cell with invalid LCI received, i.e. a LCI value >8191. The cell is discarded. Parity Error at UTOPIA receive downstream (PHY) interface detected. Start of Cell Error at UTOPIA receive downstream (PHY) interface detected. BUFER1 LCIINVAL PARITYER SOCER Data Sheet 6-152 09.99 PXB 4330 Register Descriptions BUFER2 Unexpected Buffer Error number 2. Should never occur in normal operation. Immediate reset of the chip is recommended. Unexpected Buffer Error number 3. Should never occur in normal operation. Immediate reset of the chip recommended. The maximum downstream CDV value for shaped connections given in CDVU register has been exceeded. This interrupt is a notification only; that is, no cells are discarded due to this event. Indicates that a Scheduler lost a serving time slot. (Can indicate a static backpressure on one port). The 'MUXOV' interrupt is generated when the number of lost serving time slots exceeds the number specified in bit field MaxBurstS(3:0) (see register ECRIU/ECRID). No further action is required upon this interrupt. Indicates that a scheduler specific counter for 'unused cell cycles' has falsely been set to its maximum value by device logic (maximum value is determined by parameter MaxBurstS(3:0) programmed in register ECRIU/ECRID). This can occur when either the scheduler rate or the UTOPIA port number are changed during operation without disabling the scheduler. As a consequence a burst of up to MaxBurstS(3:0) cells can be sent out that is not justified by previously saved cell cycles. No cells are discarded due to this event and no further action is required upon this interrupt. ABR RM cell received with corrupted CRC-10. BIP-8 error detected when reading a cell from the downstream external SDRAM. BIP-8 protects the cell header of each cell. The cell is discarded. One single sporadic event can be ignored. Hardware should be taken out of service when the error rate exceeds 10-10. BUFER3 CDVOV MUXOV BUFER4/ CNTUF RMCER BIP8ER Data Sheet 6-153 09.99 PXB 4330 Register Descriptions BUFER5 Unexpected Buffer Error number 5. Should never occur in normal operation. Immediate reset of the chip is recommended. For consistency check the ABM stores the queue ID with each cell written to the respective queue within the cell storage RAM. When reading a cell from the cell storage RAM, the queue ID is compared to the stored queue ID. A queue ID mismatch would indicate a global buffering/pointer problem. VC RM Cell received erroneously, when traffic class is configured for ABR VPs using bit ABRvp TCT1(see Register 13: TCT1). VCRMER Note: Several mechanisms are implemented in the ABM to check for consistency of pointer operation and internal/external memory control. The interrupt events BUFFER1..BUFFER5 indicate errors detected by these mechanisms. It is recommended that these interrupts be classified as "fatal device errors." Data Sheet 6-154 09.99 PXB 4330 Register Descriptions Register 48 IMRU Interrupt Mask Register Upstream CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H IMRU D2H Written by CPU to control interrupt signal effective events 14 13 12 11 10 9 8 Bit 15 IMRU(15:8) Bit 7 6 5 4 3 2 1 0 IMRU(7:0) IMRU(15:0) Interrupt Mask Upstream Each bit controls whether the corresponding interrupt indication in register ISRU (same bit location) activates the interrupt signal: 1 0 Interrupt indication masked. The interrupt signal is not activated upon this event. Interrupt indication unmasked. The interrupt signal is activated upon this event. Data Sheet 6-155 09.99 PXB 4330 Register Descriptions Register 49 IMRD Interrupt Mask Register Downstream CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H IMRD D3H Written by CPU to control interrupt signal effective events 14 13 12 11 10 9 8 Bit 15 IMRD(15:8) Bit 7 6 5 4 3 2 1 0 IMRD(7:0) IMRD(15:0) Interrupt Mask Downstream Each bit controls whether the corresponding interrupt indication in register ISRD (same bit location) activates the interrupt signal: 1 0 Interrupt indication masked. The interrupt signal is not activated upon this event. Interrupt indication unmasked. The interrupt signal is activated upon this event. Data Sheet 6-156 09.99 PXB 4330 Register Descriptions Register 50 MAR Memory Address Register CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H MAR D7H Written by CPU to address internal RAMs/tables for Read-Modify-Write operation via transfer registers 14 13 12 11 10 9 8 Bit 15 Unused(9:2) Bit 7 6 5 Start 4 3 2 MAR(4:0) 1 0 Unused(1:0) Start This command bit starts the Read-Modify-Write procedure to the internal RAM/table addressed by bit-field MAR(4:0). The specific data transfer and mask registers must be prepared appropriately in advance. This bit is automatically cleared after completion of the ReadModify-Write procedure. Memory Address This bit-field selects one of the internal RAMs/tables for ReadModify-Write operation: 00000 00001 00010 00011 10001 11001 10000 LCI: LCI Table RAM (see page 89) TCT: Traffic Class Table (see page 93) QCT: Queue Configuration Table (see page 102) SOT: Scheduler Occupation Table (see page 107) QPT High Word Upstream: Queue Parameter Table (see page 123) QPT High Word Downstream: Queue Parameter Table (see page 123) QPT Low Word Upstream: Queue Parameter Table( see page 123) MAR(4:0) Data Sheet 6-157 09.99 PXB 4330 Register Descriptions 11000 10111 QPT Low Word Downstream: Queue Parameter Table (see page 123) SCTF Upstream: Scheduler Configuration Table Fractional Part (see page 130) SCTF Downstream: Scheduler Configuration Table Fractional Part (see page 130) 11111 Note: The SCTI Table (Scheduler Configuration Table Integer Part) is addressed via dedicated address registers and thus not listed in bit-field MAR(4:0) (see page 134). Note: MAR(4:0) values not listed above are invalid and reserved. It is recommended to not use invalid/reserved values. Data Sheet 6-158 09.99 PXB 4330 Register Descriptions Register 51 WAR Word Address Register CPU Accessibility: Reset Value: Offset Address: Typical Usage: Read/Write 0000H WAR D8H Written by CPU to address entries of internal RAMs/ tables for Read-Modify-Write operation via transfer registers. 14 13 12 11 10 9 8 Bit 15 WAR(15:8) Bit 7 6 5 4 3 2 1 0 WAR(7:0) WAR(15:0) Word Address This bit-field selects an entry within the internal RAM/table selected by the MAR reegister. In general, it can address up to 64K entries. The current range of supported values depends on the size and organization of the selected RAM/table. Thus, the specific WAR register meaning is listed in the overview part of each internal RAM/table description: LCI TCT QCT SOT QPTHU QPTHD QPTLU QPTLD LCI Table RAM (see page 89) Traffic Class Table (see page 93) Queue Configuration Table (see page 107) Scheduler Occupation Table (see page 107) QPT High Word Upstream: Queue Parameter Table (see page 123f.) QPT High Word Downstream: Queue Parameter Table (see page 123f.) QPT Low Word Upstream: Queue Parameter Table( see page 123) QPT Low Word Downstream: Queue Parameter Table (see page 123) 6-159 09.99 Data Sheet PXB 4330 Register Descriptions SCTFU SCTF Upstream: Scheduler Configuration Table Fractional Part (see page 130) SCTF Downstream: Scheduler Configuration Table Fractional Part (see page 130) SCTFD Note: The SCTI Table (Scheduler Configuration Table Integer Part) is addressed via dedicated address registers and, thus, is not listed in the MAR and WAR registers (see page 134). Data Sheet 6-160 09.99 PXB 4330 Register Descriptions Register 52 UTRXFILL Upstream UTOPIA Receive FIFO Fill Level Register CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 0000H UTRXFILL Read by CPU 14 13 12 11 10 9 8 D9H Unused(12:5) Bit 7 6 5 Unused(4:0) * 4 3 2 1 ABMSTATE(2:0) 0 ABMSTATE(2:0) Number of cells stored within the UTOPIA Receive Upstream Buffer. Because of the upstream UTOPIA receive FIFO size, this bit field can carry values in the range 0..4 cells. Data Sheet 6-161 09.99 PXB 4330 Register Descriptions Register 53 MODE ABM Mode Register CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H MODE DAH Written and Read by CPU 14 13 12 11 Unused5 10 INIT RAM 2 LCItog 9 SDRAM 8 CORE SWRES Unused6 CPR(1:0) Bit 7 WGS 6 BIN 5 EFCI 4 BIP8 3 CRC 1 0 LCIMOD(1:0) SWRES Software Reset (reset automatically after four cycles). This bit is automatically cleared after execution. 1 (0) Starts internal reset procedure self-clearing CPR(1:0) Cell Pointer Ram Size configuration: (see also Table 5-4 "External RAMs" on page 5-68) 00 01 10 11 64k pointer entries per direction (corresponds to 64k cells in each cell storage RAM) 32k pointer entries per direction (corresponds to 32k cells in each cell storage RAM) 16k pointer entries per direction (corresponds to 16k cells in each cell storage RAM) reserved Note: The Cell Pointer RAM Size should be programmed during initialization and should not be changed during operation. Data Sheet 6-162 09.99 PXB 4330 Register Descriptions INITRAM Start of Initialization of the internal RAMs. This bit is automatically cleared after execution. 1 Starts internal RAMs initialization procedure. Note: The internal RAM initialization process can be activated only once after hardware reset. (0) SDRAM self-clearing Initialization and configuration of the external SDRAMs. This bit must be set to 1 after reset (initial pause of at least 200 s is necessary) and is automatically cleared by the ABM after configuration of the SDRAMs has been executed. 1 (0) Starts SDRAM initialization procedure self-clearing CORE This bit disables the downstream ABM Core, which is necessary in some MiniSwitch configurations (Uni-Directional Mode using one core). It is recommended to set CORE = 0 in Bi-directional operation modes. 1 0 Downstream ABM core disabled Downstream ABM core enabled WGS Selects MiniSwitch (Uni-directional) Mode if set to 1. 1 MiniSwitch (Uni-directional) operation mode selected: upstream transmit UTOPIA interface is disabled; downstream receive UTOPIA interface is disabled. Normal (Bi-directional) operation mode 0 BIN Indicate the usage of the CI/NI mechanism for ABR connections: 1 0 Enables CI/NI feedback CI/NI feedback disabled EFCI Indicate the usage of the EFCI mechanism for ABR connections: 1 0 Enables EFCI feedback EFCI feedback disabled 6-163 09.99 Data Sheet PXB 4330 Register Descriptions BIP8 Disables discard of cells with BIP-8 header error. 1 0 BIP-8 errored cells are not discarded BIP-8 errored cells are discarded CRC Disables discard of RM cells with defect CRC10. 1 0 CRC10 errored RM cells are not discarded CRC10 errored RM cells are discarded LCItog Enables toggling of the LCI(0) bit in outgoing cells in MiniSwitch (uni-directional) mode. 1 0 LCI bit zero is toggled in outgoing cells in case of MiniSwitch operation mode selected LCI bit zero remains unchanged LCIMOD(1:0) Specifies the expected mapping of Local Connection Identifier (LCI) field to cell header: 00 01 1x LCI(13, 12) = 0, LCI(11:0) mapped to VPI(11:0) field LCI(13:0) mapped to VCI(13:0) field; VCI(13) = LCI(13) must be zero. LCI(13:12) mapped to UDF1(7:6) field; LCI(11:0) mapped to VPI(11:0) field Data Sheet 6-164 09.99 PXB 4330 Register Descriptions Register 54 UTOPHY0 UTOPIA Configuration Register 0 (PHY Side) CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UTOPHY0 DCH Written and Read by CPU 14 13 unused(4:0) Bit 7 6 5 4 3 BUS 2 UTPAR 12 11 10 9 8 UTQUEUEOV(6:4) 1 0 UTQUEUEOV(3:0) * UTCONFIG(1:0) UTQUEUEOV (6:0) UTOPIA Queue Overflow (downstream transmit) Bit-field UTQUEUEOV determines the queue overflow level for each UTOPIA queue. Note: The shared UTOPIA buffer size is 64 cells. BUS The UTOPIA interface can be used with 16-bit or 8-bit bus width: 0 1 UTPAR 8-bit mode at PHY side. 16-bit mode at PHY side. Enables the parity check at UTOPIA receive upstream interface: 0 1 Parity check disabled at PHY side Parity check enabled at PHY side UTCONFIG(1:0) Configuration of port mode at PHY side UTOPIA interface: 00 01 10 11 4 x 6 port 3 x 8 port 2 x 12 port Level 1 mode (4 x 1 port) Data Sheet 6-165 09.99 PXB 4330 Register Descriptions Register 55 UTOPHY1 UTOPIA Configuration Register 1 (PHY Side) CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UTOPHY1 DDH Written and Read by CPU 14 13 12 11 10 9 8 UTPortEnable(15..8) Bit 7 6 5 4 3 2 1 0 UTPortEnable(7..0) * UTPortEnable (15:0) UTOPIA Port Enable (PHY side): Each bit enables or disables the respective UTOPIA port (15..0): bit = 0 bit = 1 Port disabled. Port enabled. Data Sheet 6-166 09.99 PXB 4330 Register Descriptions Register 56 UTOPHY2 UTOPIA Configuration Register 2 (PHY Side) CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UTOPHY2 DEH Written and Read by CPU 14 13 12 11 10 9 8 Unused(7:0) Bit 7 6 5 4 3 2 1 0 UTPortEnable(23..16) * UTPortEnable (23:16) UTOPIA Port Enable (PHY side): Each bit enables or disables the respective UTOPIA port (23..16): bit = 0 bit = 1 Port disabled. Port enabled. Data Sheet 6-167 09.99 PXB 4330 Register Descriptions Register 57 UTATM0 UTOPIA Configuration Register 0 (ATM Side) CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UTATM0 DFH Written and Read by CPU 14 13 12 11 10 9 8 Unused(11:4) Bit 7 6 5 4 3 BUS 2 UTPAR 1 0 Unused(3:0) * UTCONFIG(1:0) BUS The UTOPIA interface can be used with 16 bit or 8 bit buswidth: 0 1 8-bit mode at ATM side. 16-bit mode at ATM side. UTPAR Enables the parity check at UTOPIA receive downstream interface: 0 1 Parity check disabled at ATM side Parity check enabled at ATM side UTCONFIG(1:0) Configuration of port mode at ATM side UTOPIA interface: 00 01 10 11 4 x 6 port 3 x 8 port 2 x 12 port Level 1 mode (4 x 1 port) Data Sheet 6-168 09.99 PXB 4330 Register Descriptions Register 58 UTATM1 UTOPIA Configuration Register 1 (ATM Side) CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UTATM1 E0H Written and Read by CPU 14 13 12 11 10 9 8 UTPortEnable(15..8) Bit 7 6 5 4 3 2 1 0 UTPortEnable(7..0) * UTPortEnable (15:0) UTOPIA Port Enable (ATM side): Each bit enables or disables the respective UTOPIA port (15..0): bit = 0 bit = 1 Port disabled. Port enabled. Data Sheet 6-169 09.99 PXB 4330 Register Descriptions Register 59 UTATM2 UTOPIA Configuration Register 2 (ATM Side) CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H UTATM2 E1H Written and Read by CPU 14 13 12 11 10 9 8 Unused(7:0) Bit 7 6 5 4 3 2 1 0 UTPortEnable(23..16) * UTPortEnable (23:16) UTOPIA Port Enable (ATM side): Each bit enables or disables the respective UTOPIA port (23..16): bit = 0 bit = 1 Port disabled. Port enabled. Data Sheet 6-170 09.99 PXB 4330 Register Descriptions Register 60 TEST TEST Register CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read/Write 0000H TEST F0H Written and Read by CPU for device test purposes 14 13 12 11 10 9 8 Unused(1:0) Bit 7 6 CLKdelay(1:0) 5 4 3 BistRes(4:1) 2 flags(5:0) 1 0 BistRes0 StartBist * CLKDelay(1:0) This bit-field adjusts the delay of TSTCLK output with respect to SYSCLK input. 00 01 10 11 Delay 0 Delay 2 Delay 4 Delay 6 BistRes(4:0) Result of BIST of internal RAMs. After execution, all five bits must be zero; otherwise, an internal RAM failure was detected. Starts internal RAM BIST Automatically cleared after execution of the Bist procedure. This bit-field controls special test modes. It is recommended to Write all 0s to this bit-field. StartBist flags(5:0) Data Sheet 6-171 09.99 PXB 4330 Register Descriptions Register 61 VERH Version Number High Register CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 1003H VERH F1H Read by CPU to determine device version number 14 13 12 11 10 9 8 VERH(15..8) Bit 7 6 5 4 3 2 1 0 VERH(7..0) * VERH(15..0) 1003H Register 62 VERL Version Number Low Register CPU Accessibility: Reset Value: Offset Address: Typical Usage: Bit 15 Read 9083H VERL F2H Read by CPU to determine device version number 14 13 12 11 10 9 8 VERL(15..8) Bit 7 6 5 4 3 2 1 0 VERL(7..0) * VERL(15..0) 9083H Data Sheet 6-172 09.99 PXB 4330 Register Descriptions Data Sheet 6-173 09.99 PXB 4330 Electrical Characteristics 7 7.1 Table 7-1 Parameter Electrical Characteristics Absolute Maximum Ratings Absolute Maximum Ratings Symbol PXB Limit Values -40 to 85 -40 to 125 -0.3 to 3.6 -0.4 to VDD + 0.4 2500 Unit C C V V V Ambient temperature under bias Storage temperature IC supply voltage with respect to ground Voltage on any pin with respect to ground ESD robustness1) HBM: 1.5 k, 100 pF 1) TA Tstg VDD VS VESD,HBM According to MIL-Std 883D, method 3015.7 and ESD Association Standard EOS/ESD-5.1-1993. The RF Pins 20, 21, 26, 29, 32, 33, 34 and 35 are not protected against voltage stress > 300 V (versus VS or GND). The high frequency performance prohibits the use of adequate protective structures. Note: Stresses above those listed here may cause permanent damage to the device. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. 7.2 Table 7-2 Parameter Operating Range Operating Range Symbol Limit Values min. max. 85 125 3.0 0 3.6 0 2.5 C C V V W -40 Unit Test Condition Ambient temperature under bias Junction temperature Supply voltage Ground Power dissipation TA TJ VDD VSS P Note: In the operating range, the functions given in the circuit description are fulfilled. Data Sheet 7-174 09.99 PXB 4330 Electrical Characteristics 7.3 Table 7-3 Parameter DC Characteristics DC Characteristics Symbol min. Limit Values typ. max 0.8 V V V V V V V V V mA Pins: TDI, TCK, TMS Pin: TRST LVTTL (3.3V) Unit Notes General Interface Levels (does not apply to Boundary Scan Interface): Input low voltage Input high voltage Output low voltage Output high voltage (BS) Input low voltage (BS) Input high voltage VIL VIH VOL VOH VBS_IL VBS_IH -0.4 2.0 0.2 2.4 -0.4 2.3 2.7 VDD + 0.3 0.4 VDD 0.7 IOL = 5 mA IOH = - 5 mA Boundary Scan Interface Levels: VDD + 0.3 VDD + 0.3 0.2 0.4 (BS) Output low voltage VBS_OL (BS) Output high voltage VBS_OH Average power supply current 2.4 VDD 330 ICC (AV) IOL = 5 mA IOH = - 5 mA VDD = 3.3 V, TA = 25 C, SYSCLK = 52MHz; UTPHYCLK = 52MHz; UTATMCLK = 52MHz; ICCPD Average power down supply current (AV) 10 mA VDD = 3.3 V, TA = 25 C, no output loads, no clocks Data Sheet 7-175 09.99 PXB 4330 Electrical Characteristics Parameter Average power dissipation Symbol min. Limit Values typ. 1 max 1.3 W Unit Notes P (AV) VDD = 3.3 V, TA = 25 C, SYSCLK = 52MHz; UTPHYCLK = 52MHz; UTATMCLK = 52MHz; Input current IIIN -1 4 1 8 A A VIN = VDD or VSS VIN = VDD for Inputs with internal PullDown resistor -4 -8 A VIN = VSS for Inputs with internal Pull-Up resistor Input leakage current IIL 1 A VDD = 3.3 V, GND = 0 V; all other pins are floating Output leakage current IOZ 1 A VDD = 3.3 V, GND = 0 V; VOUT = 0 V Data Sheet 7-176 09.99 PXB 4330 Electrical Characteristics 7.4 AC Characteristics TA = -40 to 85 C, VCC = 3.3 V 9 %, VSS = 0 V All inputs are driven to VIH = 2.4 V for a logical 1 and to VIL = 0.4 V for a logical 0 All outputs are measured at VH = 2.0 V for a logical 1 VL = 0.8 V for a logical 0 and at The AC testing input/output waveforms are shown below. * VH Test Points VH Device under Test VL VL CLOAD = 50 pF max ac_int.ds4 Figure 7-1 Input/Output Waveform for AC Measurements Table 7-4 Parameter Core clock Clock Frequencies Symbol min. SYSCLK UTPHYCLK UTATMCLK 25 Limit Values max. 52 fSYSCLK fSYSCLK fSYSCLK MHz MHz MHz MHz Unit UTOPIA clock at PHY-side UTOPIA clock at ATM-side P clock1) 1) fSYSCLK/2 fSYSCLK/2 Supplied only to external microprocessor Data Sheet 7-177 09.99 PXB 4330 Electrical Characteristics 7.4.1 7.4.1.1 * Microprocessor Interface Timing Intel Mode Microprocessor Write Cycle Timing (Intel) MPADR 1 9 MPCS 2 8 MPWR 10 3 5 6 11 MPRDY 4 7 MPDAT Figure 7-2 Table 7-5 No. 1 2 3 4 5 6 7 8 9 10 11 Microprocessor Interface Write Cycle Timing (Intel) Microprocessor Interface Write Cycle Timing (Intel) Limit Values Min Typ Max ns ns 20 4 SYSCLK cycles Parameter Unit MPADR setup time before MPCS low MPCS setup time before MPWR low MPRDY low delay after MPWR low Pulse width MPRDY low MPRDY high to MPWR high MPDAT hold time after MPWR high MPCS hold time after MPWR high MPADR hold time after MPWR high MPCS low to MPRDY low impedance MPCS high to MPRDY high impedance 0 0 0 3 SYSCLK cycles ns ns MPDAT setup time before MPWR high 5 5 5 5 5 0 15 ns ns ns ns ns ns Data Sheet 7-178 09.99 PXB 4330 Electrical Characteristics 7.4.1.2 * Microprocessor Read Cycle Timing (Intel) MPADR 20 28 MPCS 21 27 MPRD 31 22 23 25 32 MPRDY 29 24 26 MPDAT 30 Figure 7-3 Table 7-6 No. 20 21 22 23 24 25 26 27 28 29 30 31 32 Microprocessor Interface Read Cycle Timing (Intel) Microprocessor Interface Read Cycle Timing (Intel) Limit Values Min Typ Max ns ns 20 5 SYSCLK cycles Parameter Unit MPADR setup time before MPCS low MPCS setup time before MPRD low MPRDY low delay after MPRD low Pulse width MPRDY low MPDAT valid before MPRDY high MPRDY high to MPRD high MPDAT hold time after MPRD high MPCS hold time after MPRD high MPADR hold time after MPRD high MPRD low to MPDAT low impedance MPCS low to MPRDY low impedance MPCS high to MPRDY high impedance 7-179 0 0 0 4 SYSCLK cycles 5 5 2 5 5 0 0 15 15 17 ns ns ns ns ns ns ns ns ns ns MPRD high to MPDAT high impedance 0 Data Sheet 09.99 PXB 4330 Electrical Characteristics 7.4.2 7.4.2.1 * Microprocessor Interface Timing Motorola Mode Microprocessor Write Cycle Timing (Motorola) MPADR 40 48 MPCS 41 47 (MPRD) DS 51 52 (MPWR) R/W (MPRDY) RDY (DTACK) MPDAT 53 42 44 45 54 43 46 Figure 7-4 Table 7-7 No. 40 41 42 43 44 45 46 47 48 51 Microprocessor Interface Write Cycle Timing (Motorola) Microprocessor Interface Write Cycle Timing (Motorola) Limit Values Min Typ Max ns ns 20 4 SYSCLK cycles Parameter Unit MPADR setup time before MPCS low MPCS setup time before DS low RDY low delay after DS low MPDAT setup time before DS high Pulse width RDY low RDY high to DS high MPDAT hold time after DS high MPCS hold time after DS high MPADR hold time after DS high R/W setup time before DS low 0 0 0 5 3 SYSCLK cycles ns ns 5 5 5 5 10 ns ns ns ns ns Data Sheet 7-180 09.99 PXB 4330 Electrical Characteristics Table 7-7 No. 52 53 54 Microprocessor Interface Write Cycle Timing (Motorola) Limit Values Min R/W hold time after DS high MPCS low to RDY low impedance MPCS high to RDY high impedance 0 0 15 Typ Max ns ns ns Unit Parameter Data Sheet 7-181 09.99 PXB 4330 Electrical Characteristics 7.4.2.2 * Microprocessor Read Cycle Timing (Motorola) MPADR 60 68 MPCS 61 67 (MPRD) DS 71 72 (MPWR) R/W (MPRDY) RDY (DTACK) MPDAT 73 62 63 65 74 69 64 66 70 Figure 7-5 Table 7-8 No. 60 61 62 63 64 65 66 67 68 69 70 71 Microprocessor Interface Read Cycle Timing (Motorola) Microprocessor Interface Read Cycle Timing (Motorola) Limit Values Min Typ Max ns ns 20 5 SYSCLK cycles Parameter Unit MPADR setup time before MPCS low MPCS setup time before DS low RDY low delay after DS low Pulse width RDY low MPDAT valid before RDY high RDY high to DS high MPDAT hold time after DS high MPCS hold time after DS high MPADR hold time after DS high DS low to MPDAT low impedance DS high to MPDAT high impedance R/W setup time before DS low 7-182 0 0 0 4 SYSCLK cycles ns 5 5 2 5 5 0 0 10 15 17 ns ns ns ns ns ns ns ns 09.99 Data Sheet PXB 4330 Electrical Characteristics Table 7-8 No. 72 73 74 Microprocessor Interface Read Cycle Timing (Motorola) Limit Values Min R/W hold time after DS high MPCS low to RDY low impedance MPCS high to RDY high impedance 0 0 15 Typ Max ns ns ns Unit Parameter Data Sheet 7-183 09.99 PXB 4330 Electrical Characteristics 7.4.3 UTOPIA Interface The AC characteristics of the UTOPIA Interface fulfill the standard of [1] and [2]. Setup and hold times of the 50 MHz UTOPIA Specification are valid. According to the UTOPIA Specification, the AC characteristics are based on the timing specification for the receiver side of a signal. The setup and the hold times are defined with regards to a positive clock edge, see Figure 7-6. Taking into account the actual clock frequency (up to the maximum frequency), the corresponding (min. and max.) transmit side "clock to output" propagation delay specifications can be derived. The timing references (tT5 to tT12) are according to the data found in Table 7-9 to Table 7-12. * Clock Signal 84, 86 85, 87 input setup to clock input hold from clock Figure 7-6 Setup and Hold Time Definition (Single- and Multi-PHY) Figure 7-7 shows the tristate timing for the multi-PHY application (multiple PHY devices, multiple output signals are multiplexed together). Data Sheet 7-184 09.99 PXB 4330 Electrical Characteristics * Clock 88 89 Signal 90 91 signal going low impedance from clock signal going low impedance to clock signal going high signal going high impedance from clock impedance to clock Figure 7-7 Tristate Timing (Multi-PHY, Multiple Devices Only) In the following tables, AP (column DIR, Direction) defines a signal from the ATM Layer (transmitter, driver) to the PHY Layer (receiver), AP defines a signal from the PHY Layer (transmitter, driver) to the ATM Layer (receiver). All timings also apply to UTOPIA Level 1 8-bit data bus operation. * Table 7-9 No. 80 81 82 83 84 85 Transmit Timing (16-Bit Data Bus, 50 MHz at Cell Interface, Single PHY) Description 0 40 4 1 Limit Values Min Max 52 60 5 2 MHz % % ns ns ns Unit Signal Name DIR TXCLK A>P TxClk frequency (nominal) TxClk duty cycle TxClk peak-to-peak jitter TxClk rise/fall time TXDAT[15:0], A>P Input setup to TxClk TXPTY, Input hold from TxClk TXSOC, TXENB TXCLAV A 86 87 Signal Name DIR Signal Name DIR Signal Name DIR |
Price & Availability of PXB4330 |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |